Skip to content
Snippets Groups Projects
Commit 848e4def authored by Lily Yan's avatar Lily Yan Committed by Igor Biki
Browse files

ISTWCMS-4681 Add contact permissions to the content access list

parent 5c5b38e2
No related branches found
No related tags found
1 merge request!68Feature/istwcms 4681 istwcms 4682 l26yan add contact profile permissions to the list
...@@ -71,6 +71,24 @@ class UwPermissions { ...@@ -71,6 +71,24 @@ class UwPermissions {
), ),
], ],
// Contact permissions.
'Contact' => [
'Use content type' =>
UwPermissions::buildRolePermissionsListContentType(
'uw_ct_contact'
),
'Create/edit group' =>
UwPermissions::buildRolePermissionsListTaxonomyTerm(
'uw_vocab_contact_group',
['create', 'edit']
),
'Delete group' =>
UwPermissions::buildRolePermissionsListTaxonomyTerm(
'uw_vocab_contact_group',
['delete']
),
],
// Catalog permissions. // Catalog permissions.
'Catalog' => [ 'Catalog' => [
'Use content type' => 'Use content type' =>
......
...@@ -28,6 +28,21 @@ function uw_cfg_common_install() { ...@@ -28,6 +28,21 @@ function uw_cfg_common_install() {
'Site manager', 'Site manager',
], ],
], ],
'Contact' => [
'Use content type' => [
'Site manager',
'Content author',
'Content editor',
],
'Create/edit group' => [
'Site manager',
'Content author',
'Content editor',
],
'Delete group' => [
'Site manager',
],
],
'Catalog' => [ 'Catalog' => [
'Use content type' => [ 'Use content type' => [
'Site manager', 'Site manager',
......
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