From cea619311d34289261f43976504dfc9c4d9b86e8 Mon Sep 17 00:00:00 2001 From: naomi Date: Tue, 16 Nov 2021 06:16:16 +0000 Subject: [PATCH] 144 Email alert when client becomes accredited --- composer.lock | 4 ++-- ...ser_add_role_action.newly_accredited_alerts.yml | 14 ++++++++++++++ ..._remove_role_action.newly_accredited_alerts.yml | 14 ++++++++++++++ config/user.role.newly_accredited_alerts.yml | 9 +++++++++ 4 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 config/system.action.user_add_role_action.newly_accredited_alerts.yml create mode 100644 config/system.action.user_remove_role_action.newly_accredited_alerts.yml create mode 100644 config/user.role.newly_accredited_alerts.yml diff --git a/composer.lock b/composer.lock index 804a849..8a14e73 100644 --- a/composer.lock +++ b/composer.lock @@ -68,7 +68,7 @@ "source": { "type": "git", "url": "ssh://git@git.autonomic.zone:2222/autonomic-cooperative/goodnightout_opencase.git", - "reference": "7bd81ca679f729004250fe3edb1cf56648976337" + "reference": "47b299e377556f7d32d9106943c6d263881c1c2f" }, "require": { "drupal/admin_toolbar": "*", @@ -86,7 +86,7 @@ "email": "helo@autonomic.zone" } ], - "time": "2021-11-12T10:53:58+00:00" + "time": "2021-11-16T06:15:35+00:00" }, { "name": "autonomic/opencase", diff --git a/config/system.action.user_add_role_action.newly_accredited_alerts.yml b/config/system.action.user_add_role_action.newly_accredited_alerts.yml new file mode 100644 index 0000000..3abbfed --- /dev/null +++ b/config/system.action.user_add_role_action.newly_accredited_alerts.yml @@ -0,0 +1,14 @@ +uuid: 9ccffac0-9acb-41f6-95a5-9aa062f4ab83 +langcode: en +status: true +dependencies: + config: + - user.role.newly_accredited_alerts + module: + - user +id: user_add_role_action.newly_accredited_alerts +label: 'Add the Newly Accredited Alerts role to the selected user(s)' +type: user +plugin: user_add_role_action +configuration: + rid: newly_accredited_alerts diff --git a/config/system.action.user_remove_role_action.newly_accredited_alerts.yml b/config/system.action.user_remove_role_action.newly_accredited_alerts.yml new file mode 100644 index 0000000..04a25a1 --- /dev/null +++ b/config/system.action.user_remove_role_action.newly_accredited_alerts.yml @@ -0,0 +1,14 @@ +uuid: 1d159794-2fff-4094-8fd5-4094feb784ac +langcode: en +status: true +dependencies: + config: + - user.role.newly_accredited_alerts + module: + - user +id: user_remove_role_action.newly_accredited_alerts +label: 'Remove the Newly Accredited Alerts role from the selected user(s)' +type: user +plugin: user_remove_role_action +configuration: + rid: newly_accredited_alerts diff --git a/config/user.role.newly_accredited_alerts.yml b/config/user.role.newly_accredited_alerts.yml new file mode 100644 index 0000000..abb85a4 --- /dev/null +++ b/config/user.role.newly_accredited_alerts.yml @@ -0,0 +1,9 @@ +uuid: 8354168f-7bfd-4b34-8bd8-295dcc452357 +langcode: en +status: true +dependencies: { } +id: newly_accredited_alerts +label: 'Newly Accredited Alerts' +weight: 6 +is_admin: null +permissions: { }