diff --git a/drupal10/config/system.action.user_add_role_action.content_editor.yml b/drupal10/config/system.action.user_add_role_action.content_editor.yml new file mode 100644 index 0000000..199d5fa --- /dev/null +++ b/drupal10/config/system.action.user_add_role_action.content_editor.yml @@ -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 diff --git a/drupal10/config/system.action.user_remove_role_action.content_editor.yml b/drupal10/config/system.action.user_remove_role_action.content_editor.yml new file mode 100644 index 0000000..3827383 --- /dev/null +++ b/drupal10/config/system.action.user_remove_role_action.content_editor.yml @@ -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 diff --git a/drupal10/config/user.role.content_editor.yml b/drupal10/config/user.role.content_editor.yml new file mode 100644 index 0000000..6aa3587 --- /dev/null +++ b/drupal10/config/user.role.content_editor.yml @@ -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'