0001-rest_authentication-add-flag-to-differentiate-anonym.patch
hobo/rest_authentication.py | ||
---|---|---|
23 | 23 |
is_anonymous = True |
24 | 24 |
is_authenticated = True |
25 | 25 |
ou = None |
26 |
is_publik_service = True |
|
26 | 27 | |
27 | 28 |
def has_perm(self, *args, **kwargs): |
28 | 29 |
return True |
... | ... | |
48 | 49 |
is_anonymous = True |
49 | 50 |
is_authenticated = True |
50 | 51 |
ou = None |
52 |
is_publik_service = True |
|
51 | 53 | |
52 | 54 |
def __unicode__(self): |
53 | 55 |
return 'Publik Service Admin' |
54 |
- |