mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 15:33:45 +00:00
documentation
This commit is contained in:
parent
c15ec606c6
commit
c5e21e05dd
1 changed files with 6 additions and 2 deletions
|
@ -44,7 +44,9 @@ class AuthorizeResponse:
|
||||||
self.user_interface = user_interface
|
self.user_interface = user_interface
|
||||||
|
|
||||||
def can_view(self, user):
|
def can_view(self, user):
|
||||||
return [True]
|
"""Method to bypass api permissions, because we are using ACL decorators
|
||||||
|
"""
|
||||||
|
return (True, None, None)
|
||||||
|
|
||||||
|
|
||||||
@api_view(['GET'])
|
@api_view(['GET'])
|
||||||
|
@ -102,7 +104,9 @@ class PostAuthResponse:
|
||||||
self.USER_STATE_ACTIVE = USER_STATE_ACTIVE
|
self.USER_STATE_ACTIVE = USER_STATE_ACTIVE
|
||||||
|
|
||||||
def can_view(self, user):
|
def can_view(self, user):
|
||||||
return [True]
|
"""Method to bypass api permissions, because we are using ACL decorators
|
||||||
|
"""
|
||||||
|
return (True, None, None)
|
||||||
|
|
||||||
|
|
||||||
@api_view(['GET'])
|
@api_view(['GET'])
|
||||||
|
|
Loading…
Reference in a new issue