mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 07:23:46 +00:00
documentation
This commit is contained in:
parent
5a79ffb0f5
commit
70b492c315
1 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,8 @@ class AutodetectACLPermission(permissions.BasePermission):
|
|||
if getattr(view, "_ignore_model_permissions", False):
|
||||
return True
|
||||
|
||||
# Bypass permission verifications if it is a functional view
|
||||
# (permissions are handled by ACL)
|
||||
if not getattr(view, "queryset", getattr(view, "get_queryset", None)):
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue