diff --git a/config/install/user.role.authenticated.yml b/config/install/user.role.authenticated.yml index c4bf03a464f402b6ef22db28d8d4057c5425f8a5..fbc3f939737763f7c27c80aaa246f51807b077ac 100644 --- a/config/install/user.role.authenticated.yml +++ b/config/install/user.role.authenticated.yml @@ -15,6 +15,9 @@ permissions: - 'skip CAPTCHA' - 'use text format uw_tf_basic' - 'use text format uw_tf_standard' + - 'userprotect.account.edit' + - 'userprotect.mail.edit' + - 'userprotect.pass.edit' - 'view media' - 'view paragraph content uw_para_call_to_action' - 'view paragraph content uw_para_call_to_action_text' diff --git a/config/install/userprotect.rule.uw_protect_authenticated_user.yml b/config/install/userprotect.rule.uw_protect_authenticated_user.yml new file mode 100644 index 0000000000000000000000000000000000000000..bc435657823c39791e5a73ee46ce95a966d19a56 --- /dev/null +++ b/config/install/userprotect.rule.uw_protect_authenticated_user.yml @@ -0,0 +1,20 @@ +langcode: en +status: true +dependencies: + config: + - user.role.authenticated + module: + - user +name: uw_protect_authenticated_user +label: 'Authenticated user' +protectedEntityTypeId: user_role +protectedEntityId: authenticated +protections: + user_delete: + id: user_delete + provider: userprotect + status: true + user_status: + id: user_status + provider: userprotect + status: true