mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Small AnonymousUser fix (le gaulois)
This commit is contained in:
parent
01c3991988
commit
3e0b964e9b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user