From 712e3f10209cf831753a596979abc4eca8a366d3 Mon Sep 17 00:00:00 2001 From: Mauricio Dinarte Date: Wed, 4 Dec 2024 10:12:47 -0600 Subject: [PATCH] Apply administrator_role recipe --- ...m.action.user_add_role_action.administrator.yml | 14 ++++++++++++++ ...ction.user_remove_role_action.administrator.yml | 14 ++++++++++++++ drupal10/config/user.role.administrator.yml | 9 +++++++++ 3 files changed, 37 insertions(+) create mode 100644 drupal10/config/system.action.user_add_role_action.administrator.yml create mode 100644 drupal10/config/system.action.user_remove_role_action.administrator.yml create mode 100644 drupal10/config/user.role.administrator.yml diff --git a/drupal10/config/system.action.user_add_role_action.administrator.yml b/drupal10/config/system.action.user_add_role_action.administrator.yml new file mode 100644 index 0000000..afdd828 --- /dev/null +++ b/drupal10/config/system.action.user_add_role_action.administrator.yml @@ -0,0 +1,14 @@ +uuid: 13740a97-eaae-4718-8987-fc719d190a02 +langcode: en +status: true +dependencies: + config: + - user.role.administrator + module: + - user +id: user_add_role_action.administrator +label: 'Add the Administrator role to the selected user(s)' +type: user +plugin: user_add_role_action +configuration: + rid: administrator diff --git a/drupal10/config/system.action.user_remove_role_action.administrator.yml b/drupal10/config/system.action.user_remove_role_action.administrator.yml new file mode 100644 index 0000000..efb8e04 --- /dev/null +++ b/drupal10/config/system.action.user_remove_role_action.administrator.yml @@ -0,0 +1,14 @@ +uuid: 9b0532de-79ac-4553-a874-b3c5c8cef857 +langcode: en +status: true +dependencies: + config: + - user.role.administrator + module: + - user +id: user_remove_role_action.administrator +label: 'Remove the Administrator role from the selected user(s)' +type: user +plugin: user_remove_role_action +configuration: + rid: administrator diff --git a/drupal10/config/user.role.administrator.yml b/drupal10/config/user.role.administrator.yml new file mode 100644 index 0000000..f70f4f9 --- /dev/null +++ b/drupal10/config/user.role.administrator.yml @@ -0,0 +1,9 @@ +uuid: d9c7d3ba-d8f5-401f-a8ab-369db2a1fe5c +langcode: en +status: true +dependencies: { } +id: administrator +label: Administrator +weight: 3 +is_admin: true +permissions: { }