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

ISTWCMS-4682 Add profile permissions to the content access list

parent 4ef3d7ea
No related branches found
No related tags found
1 merge request!68Feature/istwcms 4681 istwcms 4682 l26yan add contact profile permissions to the list
......@@ -155,6 +155,24 @@ class UwPermissions {
),
],
// Profile permissions.
'Profile' => [
'Use content type' =>
UwPermissions::buildRolePermissionsListContentType(
'uw_ct_profile'
),
'Create/edit type' =>
UwPermissions::buildRolePermissionsListTaxonomyTerm(
'uw_vocab_profile_type',
['create', 'edit']
),
'Delete type' =>
UwPermissions::buildRolePermissionsListTaxonomyTerm(
'uw_vocab_profile_type',
['delete']
),
],
// Sidebar permissions.
'Sidebar' => [
'Use content type' =>
......
......@@ -97,6 +97,21 @@ function uw_cfg_common_install() {
'Site manager',
],
],
'Profile' => [
'Use content type' => [
'Site manager',
'Content author',
'Content editor',
],
'Create/edit type' => [
'Site manager',
'Content author',
'Content editor',
],
'Delete type' => [
'Site manager',
],
],
'Sidebar' => [
'Use content type' => [
'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