From 6dc1fa855bb1c4e4fe131e63cdc137e2a76b7e3a Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Tue, 18 Feb 2025 12:02:00 +0000 Subject: [PATCH] Permission changes again --- invenio.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/invenio.cfg b/invenio.cfg index af9d012..585cfb4 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -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