mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Fix: delete_pages should require ownership (#7714)
This commit is contained in:
parent
36df6fd3e5
commit
4193401be7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user