misc: declare an empty ou attribute in fake signature users (#62190)
This commit is contained in:
parent
4c3d24223c
commit
bd178920aa
|
@ -20,6 +20,7 @@ class AnonymousAuthenticServiceUser(AnonymousUser):
|
|||
|
||||
is_anonymous = True
|
||||
is_authenticated = True
|
||||
ou = None
|
||||
|
||||
def has_perm(self, *args, **kwargs):
|
||||
return True
|
||||
|
@ -44,6 +45,7 @@ class AnonymousAdminServiceUser(AnonymousUser):
|
|||
is_staff = True
|
||||
is_anonymous = True
|
||||
is_authenticated = True
|
||||
ou = None
|
||||
|
||||
def __unicode__(self):
|
||||
return 'Publik Service Admin'
|
||||
|
|
Loading…
Reference in New Issue