mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-11 21:26:02 +00:00
1 parent
f47f846d26
commit
606f1af4d5
9 files changed
+231
-114
No files matched your search
+5
-1
@@ -1,6 +1,6 @@
|
||||
# -*- coding:utf-8 -*
|
||||
#
|
||||
# Copyright 2016,2017
|
||||
# Copyright 2016,2017,2018
|
||||
# - Skia <skia@libskia.so>
|
||||
# - Sli <antoine@bartuccio.fr>
|
||||
#
|
||||
@@ -567,6 +567,10 @@ class AnonymousUser(AuthAnonymousUser):
|
||||
def forum_infos(self):
|
||||
raise PermissionDenied
|
||||
|
||||
@property
|
||||
def favorite_topics(self):
|
||||
raise PermissionDenied
|
||||
|
||||
def is_in_group(self, group_name):
|
||||
"""
|
||||
The anonymous user is only the public group
|
||||
|
||||
Reference in new issue
Block a user