created editor role

This commit is contained in:
Bachir Soussi Chiadmi 2023-12-19 12:03:17 +01:00
parent 9db8cebe7d
commit a0fc50a1ca
4 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,14 @@
uuid: 3dbccf96-b731-4133-ad54-6d2a68e6a9a7
langcode: fr
status: true
dependencies:
config:
- user.role.editor
module:
- user
id: user_add_role_action.editor
label: 'Ajouter le rôle Editor aux utilisateurs sélectionnés'
type: user
plugin: user_add_role_action
configuration:
rid: editor

View File

@ -0,0 +1,14 @@
uuid: 84b9ed5c-d155-45b4-8f9d-b447e7e8e5fc
langcode: fr
status: true
dependencies:
config:
- user.role.editor
module:
- user
id: user_remove_role_action.editor
label: 'Enlever le rôle Editor des utilisateurs sélectionnés'
type: user
plugin: user_remove_role_action
configuration:
rid: editor

View File

@ -3,13 +3,18 @@ langcode: fr
status: true
dependencies:
config:
- node.type.actualite
- node.type.equipe
- node.type.partenaire
- node.type.static
- taxonomy.vocabulary.type_dactus
module:
- actions_permissions
- content_translation
- file
- node
- system
- taxonomy
- toolbar
_core:
default_config_hash: qjP-_ce85KMPC6bVZSJhrJVg9g3ctrzIduVBuGb1c9A
@ -19,12 +24,21 @@ weight: -7
is_admin: null
permissions:
- 'access administration pages'
- 'access content overview'
- 'access files overview'
- 'access toolbar'
- 'administer users'
- 'change own username'
- 'create actualite content'
- 'create content translations'
- 'create equipe content'
- 'create partenaire content'
- 'create terms in type_dactus'
- 'edit any actualite content'
- 'edit any equipe content'
- 'edit any partenaire content'
- 'edit any static content'
- 'edit terms in type_dactus'
- 'execute entity:save_action menu_link_content'
- 'execute entity:save_action node'
- 'execute entity:save_action taxonomy_term'
@ -38,6 +52,9 @@ permissions:
- 'execute user_unblock_user_action user'
- 'execute vbo_cancel_user_action user'
- 'execute views_bulk_edit all'
- 'revert actualite revisions'
- 'revert equipe revisions'
- 'revert partenaire revisions'
- 'revert static revisions'
- 'update content translations'
- 'view static revisions'

View File

@ -0,0 +1,46 @@
uuid: fd36b79f-f3ed-407d-ab9f-fd17c84b8bd4
langcode: fr
status: true
dependencies:
config:
- node.type.actualite
- node.type.equipe
- node.type.partenaire
- node.type.static
- taxonomy.vocabulary.type_dactus
module:
- actions_permissions
- node
- system
- taxonomy
- toolbar
id: editor
label: Editor
weight: -5
is_admin: null
permissions:
- 'access administration pages'
- 'access content overview'
- 'access toolbar'
- 'create actualite content'
- 'create equipe content'
- 'create partenaire content'
- 'create terms in type_dactus'
- 'edit any actualite content'
- 'edit any equipe content'
- 'edit any partenaire content'
- 'edit any static content'
- 'edit terms in type_dactus'
- 'execute entity:save_action menu_link_content'
- 'execute entity:save_action node'
- 'execute entity:save_action taxonomy_term'
- 'execute entity:save_action user'
- 'execute node_promote_action node'
- 'execute node_unpromote_action node'
- 'execute user_unblock_user_action user'
- 'revert actualite revisions'
- 'revert equipe revisions'
- 'revert partenaire revisions'
- 'revert static revisions'
- 'view static revisions'
- 'view the administration theme'