From 9ade02e921bacd307f015b416807e501ebce33be Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 27 Jan 2025 10:02:51 +0100 Subject: [PATCH] editor cn delete contents --- config/sync/user.role.admin.yml | 6 ++++++ config/sync/user.role.editor.yml | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/config/sync/user.role.admin.yml b/config/sync/user.role.admin.yml index b0d059c..8f48d2a 100644 --- a/config/sync/user.role.admin.yml +++ b/config/sync/user.role.admin.yml @@ -11,6 +11,7 @@ dependencies: - node.type.offre - node.type.partenaire - node.type.projet + - node.type.ressource - node.type.static - taxonomy.vocabulary.type_dactus module: @@ -52,8 +53,13 @@ permissions: - 'create partenaire content' - 'create projet content' - 'create terms in type_dactus' + - 'delete any actualite content' + - 'delete any equipe content' - 'delete any faq content' + - 'delete any offre content' + - 'delete any partenaire content' - 'delete any projet content' + - 'delete any ressource content' - 'delete own offre content' - 'edit any actualite content' - 'edit any equipe content' diff --git a/config/sync/user.role.editor.yml b/config/sync/user.role.editor.yml index 14c4016..8d2b8e1 100644 --- a/config/sync/user.role.editor.yml +++ b/config/sync/user.role.editor.yml @@ -11,6 +11,7 @@ dependencies: - node.type.offre - node.type.partenaire - node.type.projet + - node.type.ressource - node.type.static - taxonomy.vocabulary.type_dactus module: @@ -43,7 +44,13 @@ permissions: - 'create partenaire content' - 'create projet content' - 'create terms in type_dactus' + - 'delete any actualite content' + - 'delete any equipe content' - 'delete any faq content' + - 'delete any offre content' + - 'delete any partenaire content' + - 'delete any projet content' + - 'delete any ressource content' - 'delete own offre content' - 'edit any actualite content' - 'edit any equipe content'