mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-24 12:23:11 +00:00
documentation
This commit is contained in:
parent
7e60c6ed41
commit
5e24867ccd
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