Fix: delete_pages should require ownership (#7714)

This commit is contained in:
shamoon 2024-09-15 16:24:40 -07:00 committed by GitHub
parent 36df6fd3e5
commit 4193401be7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -980,6 +980,7 @@ class BulkEditView(PassUserMixin):
bulk_edit.set_permissions,
bulk_edit.delete,
bulk_edit.rotate,
bulk_edit.delete_pages,
]
else all(
has_perms_owner_aware(user, "change_document", doc)