mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 13:41:56 +00:00
Permission changes again
This commit is contained in:
@@ -768,15 +768,15 @@ class InvenioRDMStarterRecordPermissionPolicy(RDMRecordPermissionPolicy):
|
||||
# Actions
|
||||
#
|
||||
# Allow to put a record in edit mode (create a draft from record)
|
||||
can_edit = [SystemProcess()]
|
||||
can_edit = can_manage + [SystemProcess()]
|
||||
# Allow deleting/discarding a draft and all associated files
|
||||
can_delete_draft = [SystemProcess()]
|
||||
can_delete_draft = can_manage + [SystemProcess()]
|
||||
# Allow creating a new version of an existing published record.
|
||||
can_new_version = [SystemProcess()]
|
||||
can_new_version = can_manage + [SystemProcess()]
|
||||
# Allow publishing a new record or changes to an existing record.
|
||||
can_publish = can_manage + [SystemProcess()]
|
||||
# Allow lifting a record or draft.
|
||||
can_lift_embargo = [SystemProcess()]
|
||||
can_lift_embargo = can_manage + [SystemProcess()]
|
||||
|
||||
#
|
||||
# Record communities
|
||||
|
||||
Reference in New Issue
Block a user