From 7242e85acd116e7a82f0b3268b0c03d8855c7f57 Mon Sep 17 00:00:00 2001
From: Lily Yan <lily.yan@uwaterloo.ca>
Date: Thu, 22 Oct 2020 10:58:21 -0400
Subject: [PATCH] ISTWCMS-4156 Add catalogs vocab permissions for site manger,
 content editor and author

---
 config/install/user.role.uw_role_content_author.yml | 2 ++
 config/install/user.role.uw_role_content_editor.yml | 2 ++
 config/install/user.role.uw_role_site_manager.yml   | 3 +++
 3 files changed, 7 insertions(+)

diff --git a/config/install/user.role.uw_role_content_author.yml b/config/install/user.role.uw_role_content_author.yml
index 37f207b7..980e028d 100644
--- a/config/install/user.role.uw_role_content_author.yml
+++ b/config/install/user.role.uw_role_content_author.yml
@@ -43,6 +43,7 @@ permissions:
   - 'create terms in uw_vocab_audience'
   - 'create terms in uw_vocab_blog_tags'
   - 'create terms in uw_vocab_catalog_categories'
+  - 'create terms in uw_vocab_catalogs'
   - 'create terms in uw_vocab_news_tags'
   - 'create url aliases'
   - 'create uw_ct_blog content'
@@ -79,6 +80,7 @@ permissions:
   - 'edit terms in uw_vocab_audience'
   - 'edit terms in uw_vocab_blog_tags'
   - 'edit terms in uw_vocab_catalog_categories'
+  - 'edit terms in uw_vocab_catalogs'
   - 'edit terms in uw_vocab_news_tags'
   - 'make smart dates recur'
   - 'reschedule smart date recur instances'
diff --git a/config/install/user.role.uw_role_content_editor.yml b/config/install/user.role.uw_role_content_editor.yml
index ff9edf50..269b6936 100644
--- a/config/install/user.role.uw_role_content_editor.yml
+++ b/config/install/user.role.uw_role_content_editor.yml
@@ -44,6 +44,7 @@ permissions:
   - 'create terms in uw_vocab_audience'
   - 'create terms in uw_vocab_blog_tags'
   - 'create terms in uw_vocab_catalog_categories'
+  - 'create terms in uw_vocab_catalogs'
   - 'create terms in uw_vocab_news_tags'
   - 'create url aliases'
   - 'create uw_ct_blog content'
@@ -80,6 +81,7 @@ permissions:
   - 'edit terms in uw_vocab_audience'
   - 'edit terms in uw_vocab_blog_tags'
   - 'edit terms in uw_vocab_catalog_categories'
+  - 'edit terms in uw_vocab_catalogs'
   - 'edit terms in uw_vocab_news_tags'
   - 'make smart dates recur'
   - 'reschedule smart date recur instances'
diff --git a/config/install/user.role.uw_role_site_manager.yml b/config/install/user.role.uw_role_site_manager.yml
index cc5f2a51..c99b9fcb 100644
--- a/config/install/user.role.uw_role_site_manager.yml
+++ b/config/install/user.role.uw_role_site_manager.yml
@@ -45,6 +45,7 @@ permissions:
   - 'create terms in uw_vocab_audience'
   - 'create terms in uw_vocab_blog_tags'
   - 'create terms in uw_vocab_catalog_categories'
+  - 'create terms in uw_vocab_catalogs'
   - 'create terms in uw_vocab_news_tags'
   - 'create url aliases'
   - 'create uw_ct_blog content'
@@ -84,6 +85,7 @@ permissions:
   - 'delete terms in uw_vocab_audience'
   - 'delete terms in uw_vocab_blog_tags'
   - 'delete terms in uw_vocab_catalog_categories'
+  - 'delete terms in uw_vocab_catalogs'
   - 'delete terms in uw_vocab_news_tags'
   - 'delete uw_news_item revisions'
   - 'edit any uw_ct_blog content'
@@ -105,6 +107,7 @@ permissions:
   - 'edit terms in uw_vocab_audience'
   - 'edit terms in uw_vocab_blog_tags'
   - 'edit terms in uw_vocab_catalog_categories'
+  - 'edit terms in uw_vocab_catalogs'
   - 'edit terms in uw_vocab_news_tags'
   - 'make smart dates recur'
   - 'reschedule smart date recur instances'
-- 
GitLab