From 8ad139aecf8aa9323762fa27a503dac7a1cbb29d Mon Sep 17 00:00:00 2001
From: Lily Yan <lily.yan@uwaterloo.ca>
Date: Fri, 11 Sep 2020 08:52:19 -0400
Subject: [PATCH] ISTWCMS-4039 Add rabbit hole permissions

---
 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_site_manager.yml   | 1 +
 3 files changed, 3 insertions(+)

diff --git a/config/install/user.role.uw_role_content_author.yml b/config/install/user.role.uw_role_content_author.yml
index 5dec982b..263fd52c 100644
--- a/config/install/user.role.uw_role_content_author.yml
+++ b/config/install/user.role.uw_role_content_author.yml
@@ -28,6 +28,7 @@ permissions:
   - 'edit own uw_mt_image media'
   - 'edit own uw_mt_remote_video media'
   - 'edit own uw_news_item content'
+  - 'rabbit hole bypass node'
   - 'update media'
   - 'update paragraph content uw_para_call_to_action'
   - 'update paragraph content uw_para_call_to_action_text'
diff --git a/config/install/user.role.uw_role_content_editor.yml b/config/install/user.role.uw_role_content_editor.yml
index 28198e82..58af9bc0 100644
--- a/config/install/user.role.uw_role_content_editor.yml
+++ b/config/install/user.role.uw_role_content_editor.yml
@@ -30,6 +30,7 @@ permissions:
   - 'edit own uw_mt_image media'
   - 'edit own uw_mt_remote_video media'
   - 'edit own uw_news_item content'
+  - 'rabbit hole bypass node'
   - 'revert uw_news_item revisions'
   - 'update media'
   - 'update paragraph content uw_para_call_to_action'
diff --git a/config/install/user.role.uw_role_site_manager.yml b/config/install/user.role.uw_role_site_manager.yml
index 19ca7ae8..d6ce6db9 100644
--- a/config/install/user.role.uw_role_site_manager.yml
+++ b/config/install/user.role.uw_role_site_manager.yml
@@ -47,6 +47,7 @@ permissions:
   - 'edit own uw_mt_image media'
   - 'edit own uw_mt_remote_video media'
   - 'edit own uw_news_item content'
+  - 'rabbit hole bypass node'
   - 'revert all revisions'
   - 'revert uw_news_item revisions'
   - 'update any media'
-- 
GitLab