Skip to content
Snippets Groups Projects
Commit 00e73a73 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3921: updating permissions for News and Blogs

parent b0cd3267
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,10 @@ class UwPermissions {
'Blog' => [
'Use content type' =>
UwPermissions::uw_build_role_permissions_list_content_type('uw_ct_blog'),
'Create/edit tags' =>
UwPermissions::uw_build_role_permissions_list_taxonomy_term('uw_vocab_blog_tags', ['create', 'edit']),
'Delete tags' =>
UwPermissions::uw_build_role_permissions_list_taxonomy_term('uw_vocab_blog_tags', ['delete']),
],
// Event permissions.
......@@ -69,6 +73,10 @@ class UwPermissions {
'News' => [
'Use content type' =>
UwPermissions::uw_build_role_permissions_list_content_type('uw_ct_news_item'),
'Create/edit tags' =>
UwPermissions::uw_build_role_permissions_list_taxonomy_term('uw_vocab_news_tags', ['create', 'edit']),
'Delete tags' =>
UwPermissions::uw_build_role_permissions_list_taxonomy_term('uw_vocab_news_tags', ['delete']),
],
// Site footer permissions.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment