mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-10 04:40:28 +00:00
Small AnonymousUser fix (le gaulois)
This commit is contained in:
1 parent
01c3991988
commit
3e0b964e9b
1 file changed
+4
@@ -389,6 +389,10 @@ class AnonymousUser(AuthAnonymousUser):
|
||||
def subscribed(self):
|
||||
return False
|
||||
|
||||
@property
|
||||
def is_root(self):
|
||||
return False
|
||||
|
||||
def is_in_group(self, group_name):
|
||||
"""
|
||||
The anonymous user is only the public group
|
||||
|
||||
Reference in new issue
Block a user