Apply content_editor_role recipe

This commit is contained in:
Mauricio Dinarte 2024-12-04 10:12:48 -06:00
parent 712e3f1020
commit 7953599f03
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,14 @@
uuid: eaa4a7b0-f082-483b-af24-552b33bf2166
langcode: en
status: true
dependencies:
config:
- user.role.content_editor
module:
- user
id: user_add_role_action.content_editor
label: 'Add the Content editor role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: content_editor

View file

@ -0,0 +1,14 @@
uuid: 8ab60d12-0717-4df5-b1b0-9b4b16e9022b
langcode: en
status: true
dependencies:
config:
- user.role.content_editor
module:
- user
id: user_remove_role_action.content_editor
label: 'Remove the Content editor role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: content_editor

View file

@ -0,0 +1,14 @@
uuid: 1b135e21-2364-4740-8d89-0c763aecb31f
langcode: en
status: true
dependencies:
module:
- node
- system
id: content_editor
label: 'Content editor'
weight: 2
is_admin: false
permissions:
- 'access administration pages'
- 'view own unpublished content'