From 53e76b9f14365322eae449d8902b60bbb154e2e3 Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 7 Apr 2025 15:09:39 +0200 Subject: [PATCH] editor can supp actu & ressources --- config/sync/user.role.admin.yml | 1 - config/sync/user.role.editeur.yml | 3 ++- config/sync/user.role.root.yml | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index e271e1a..5c32585 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -71,7 +71,6 @@ permissions: - 'execute entity:save_action node' - 'execute entity:save_action taxonomy_term' - 'execute entity:save_action user' - - 'execute node_assign_owner_action node' - 'execute node_make_sticky_action node' - 'execute node_make_unsticky_action node' - 'execute node_promote_action node' diff --git a/config/sync/user.role.editeur.yml b/config/sync/user.role.editeur.yml index 8e72b08..9c75e7f 100644 --- a/config/sync/user.role.editeur.yml +++ b/config/sync/user.role.editeur.yml @@ -39,6 +39,8 @@ permissions: - 'create ressource content' - 'create site content' - 'create static content' + - 'delete any actualite content' + - 'delete any ressource content' - 'delete partenaire revisions' - 'delete ressource revisions' - 'delete site revisions' @@ -51,7 +53,6 @@ permissions: - 'edit diaporama_home config page entity' - 'edit intro_partenaires config page entity' - 'execute entity:save_action node' - - 'execute node_assign_owner_action node' - 'execute node_make_sticky_action node' - 'execute node_make_unsticky_action node' - 'execute node_promote_action node' diff --git a/config/sync/user.role.root.yml b/config/sync/user.role.root.yml index 510a125..df8409a 100644 --- a/config/sync/user.role.root.yml +++ b/config/sync/user.role.root.yml @@ -108,12 +108,10 @@ permissions: - 'execute entity:save_action taxonomy_term' - 'execute entity:save_action user' - 'execute entity:unpublish_action node' - - 'execute node_assign_owner_action node' - 'execute node_make_sticky_action node' - 'execute node_make_unsticky_action node' - 'execute node_promote_action node' - 'execute node_unpromote_action node' - - 'execute node_unpublish_by_keyword_action node' - 'execute user_add_role_action user' - 'execute user_block_user_action user' - 'execute user_remove_role_action user'