Loading src/resources/acl.py −1 Changes for src/resources/acl.py: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -103,7 +103,6 @@ def has_crud_access( raise ValueError( f"not a crud access right: {crud_access}. Must be one of {', '.join(CRUD_VERBS)}." ) logger.info(f"testing {crud_access} to {object_instance}") # Only Resource and Collection are tested for instance-level permissions if len( [x.object_pk for x in user_permissions if x.object_pk is not None] Loading Loading
src/resources/acl.py −1 Changes for src/resources/acl.py: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -103,7 +103,6 @@ def has_crud_access( raise ValueError( f"not a crud access right: {crud_access}. Must be one of {', '.join(CRUD_VERBS)}." ) logger.info(f"testing {crud_access} to {object_instance}") # Only Resource and Collection are tested for instance-level permissions if len( [x.object_pk for x in user_permissions if x.object_pk is not None] Loading