Skip to content
Snippets Groups Projects
Commit 13dc7896 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-4039 Add rabbit hole permissions

parent d5784162
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,8 @@ class UwPermissions { ...@@ -84,6 +84,8 @@ class UwPermissions {
'Sidebar' => [ 'Sidebar' => [
'Use content type' => 'Use content type' =>
UwPermissions::buildRolePermissionsListContentType('uw_ct_sidebar'), UwPermissions::buildRolePermissionsListContentType('uw_ct_sidebar'),
'Use rabbit hole' =>
UwPermissions::buildRolePermissionsListCustom('rabbit hole bypass node'),
], ],
// Site footer permissions. // Site footer permissions.
......
...@@ -71,6 +71,11 @@ function uw_cfg_common_install() { ...@@ -71,6 +71,11 @@ function uw_cfg_common_install() {
'Content author', 'Content author',
'Content editor', 'Content editor',
], ],
'Use rabbit hole' => [
'Site manager',
'Content author',
'Content editor',
],
], ],
'Site footer' => [ 'Site footer' => [
'Use content type' => [ 'Use content type' => [
......
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