Skip to content
Snippets Groups Projects
Commit f93c1e46 authored by Igor Biki's avatar Igor Biki
Browse files

Merge branch...

Merge branch 'feature/ISTWCMS-4681-ISTWCMS-4682-l26yan-Add-contact-profile-permissions-to-the-list' into '8.x-1.x'

Feature/istwcms 4681 istwcms 4682 l26yan add contact profile permissions to the list

See merge request !68
parents 4ef3d7ea 848e4def
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 {
),
],
// 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' => [
'Use content type' =>
......@@ -155,6 +173,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' =>
......
......@@ -28,6 +28,21 @@ function uw_cfg_common_install() {
'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' => [
'Use content type' => [
'Site manager',
......@@ -97,6 +112,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