From 2aa2e91da20cfea283971a36cb0bbf3c8d2c3549 Mon Sep 17 00:00:00 2001 From: Tero Elonen Date: Fri, 12 Jul 2024 16:08:15 +0300 Subject: [PATCH] UHF-10067: Add permissions for news producer to edit image and remote video entities, remove permissions to files, maps and charts because the role can not create this type of content --- conf/cmi/user.role.news_producer.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/conf/cmi/user.role.news_producer.yml b/conf/cmi/user.role.news_producer.yml index a18913546..e3094ea47 100644 --- a/conf/cmi/user.role.news_producer.yml +++ b/conf/cmi/user.role.news_producer.yml @@ -5,9 +5,6 @@ dependencies: config: - filter.format.full_html - filter.format.minimal - - media.type.file - - media.type.hel_map - - media.type.helfi_chart - media.type.image - media.type.remote_video - node.type.news_article @@ -38,9 +35,6 @@ permissions: - 'administer nodes' - 'cancel account' - 'change own username' - - 'create file media' - - 'create hel_map media' - - 'create helfi_chart media' - 'create image media' - 'create media' - 'create news_article content' @@ -48,24 +42,22 @@ permissions: - 'create paragraph library item' - 'create remote_video media' - 'create url aliases' + - 'delete any image media' - 'delete any news_article content' - 'delete any news_item content' + - 'delete any remote_video media' - 'delete media' - 'delete news_article revisions' - 'delete news_item revisions' - - 'delete own file media' - 'delete own files' - - 'delete own hel_map media' - - 'delete own helfi_chart media' - 'delete own image media' - 'delete own news_article content' - 'delete own news_item content' - 'delete own remote_video media' + - 'edit any image media' - 'edit any news_article content' - 'edit any news_item content' - - 'edit own file media' - - 'edit own hel_map media' - - 'edit own helfi_chart media' + - 'edit any remote_video media' - 'edit own image media' - 'edit own news_article content' - 'edit own news_item content'