mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 01:16:27 +00:00
Update views.py
This commit is contained in:
parent
1e6c6348b8
commit
2381ae2169
1 changed files with 0 additions and 8 deletions
|
@ -43,11 +43,6 @@ class AuthorizeResponse:
|
|||
self.user = user
|
||||
self.user_interface = user_interface
|
||||
|
||||
def can_view(self, user):
|
||||
"""Temp method to bypass ACL
|
||||
"""
|
||||
return [True]
|
||||
|
||||
|
||||
@api_view(['GET'])
|
||||
@login_required
|
||||
|
@ -103,9 +98,6 @@ class PostAuthResponse:
|
|||
self.RADIUS_OPTION_REJECT = RADIUS_OPTION_REJECT
|
||||
self.USER_STATE_ACTIVE = USER_STATE_ACTIVE
|
||||
|
||||
def can_view(self, user):
|
||||
return [True]
|
||||
|
||||
|
||||
@api_view(['GET'])
|
||||
@login_required
|
||||
|
|
Loading…
Reference in a new issue