From aeb43e11e3c1dcb8598abbcf9d4151f5729e2950 Mon Sep 17 00:00:00 2001
From: l26yan <l26yan@uwaterloo.ca>
Date: Tue, 25 May 2021 15:55:49 -0400
Subject: [PATCH] ISTWCMS-4630 Add 'access user profiles' permission to author,
 editor, form editor, form results access and site manager roles

---
 config/install/user.role.uw_role_content_author.yml      | 1 +
 config/install/user.role.uw_role_content_editor.yml      | 1 +
 config/install/user.role.uw_role_form_editor.yml         | 1 +
 config/install/user.role.uw_role_form_results_access.yml | 1 +
 config/install/user.role.uw_role_site_manager.yml        | 1 +
 5 files changed, 5 insertions(+)

diff --git a/config/install/user.role.uw_role_content_author.yml b/config/install/user.role.uw_role_content_author.yml
index da4f9c14..cd97d6f3 100644
--- a/config/install/user.role.uw_role_content_author.yml
+++ b/config/install/user.role.uw_role_content_author.yml
@@ -42,6 +42,7 @@ permissions:
   - 'access metatag twitter_cards__twitter_cards_type'
   - 'access shortcuts'
   - 'access taxonomy overview'
+  - 'access user profiles'
   - 'access uw_ebr_image entity browser pages'
   - 'administer main menu items'
   - 'administer uw-menu-audience-menu menu items'
diff --git a/config/install/user.role.uw_role_content_editor.yml b/config/install/user.role.uw_role_content_editor.yml
index 5c220242..5a7e1452 100644
--- a/config/install/user.role.uw_role_content_editor.yml
+++ b/config/install/user.role.uw_role_content_editor.yml
@@ -43,6 +43,7 @@ permissions:
   - 'access metatag twitter_cards__twitter_cards_type'
   - 'access shortcuts'
   - 'access taxonomy overview'
+  - 'access user profiles'
   - 'access uw_ebr_image entity browser pages'
   - 'administer main menu items'
   - 'administer uw-menu-audience-menu menu items'
diff --git a/config/install/user.role.uw_role_form_editor.yml b/config/install/user.role.uw_role_form_editor.yml
index ea3f5e85..31546278 100644
--- a/config/install/user.role.uw_role_form_editor.yml
+++ b/config/install/user.role.uw_role_form_editor.yml
@@ -35,6 +35,7 @@ permissions:
   - 'access metatag twitter_cards__twitter_cards_title'
   - 'access metatag twitter_cards__twitter_cards_type'
   - 'access own webform configuration'
+  - 'access user profiles'
   - 'access webform overview'
   - 'access webform submission user'
   - 'administer webform'
diff --git a/config/install/user.role.uw_role_form_results_access.yml b/config/install/user.role.uw_role_form_results_access.yml
index e74af04d..9eccb5fb 100644
--- a/config/install/user.role.uw_role_form_results_access.yml
+++ b/config/install/user.role.uw_role_form_results_access.yml
@@ -6,6 +6,7 @@ label: 'Form results access'
 weight: -2
 is_admin: null
 permissions:
+  - 'access user profiles'
   - 'access webform overview'
   - 'access webform submission user'
   - 'can override my_dashboard dashboard'
diff --git a/config/install/user.role.uw_role_site_manager.yml b/config/install/user.role.uw_role_site_manager.yml
index 7eb7f512..ecb61718 100644
--- a/config/install/user.role.uw_role_site_manager.yml
+++ b/config/install/user.role.uw_role_site_manager.yml
@@ -44,6 +44,7 @@ permissions:
   - 'access metatag twitter_cards__twitter_cards_type'
   - 'access shortcuts'
   - 'access taxonomy overview'
+  - 'access user profiles'
   - 'access uw_ebr_cta entity browser pages'
   - 'access uw_ebr_image entity browser pages'
   - 'administer main menu items'
-- 
GitLab