diff --git a/src/UwPermissions/UwPermissions.php b/src/UwPermissions/UwPermissions.php index 5afd93772c7f4e75e13334cd07880662ba061463..275d519d296801c3189065bf8d4e7a41653cabb3 100644 --- a/src/UwPermissions/UwPermissions.php +++ b/src/UwPermissions/UwPermissions.php @@ -77,12 +77,12 @@ class UwPermissions { UwPermissions::buildRolePermissionsListContentType( 'uw_ct_contact' ), - 'Create/edit group' => + 'Create/edit groups' => UwPermissions::buildRolePermissionsListTaxonomyTerm( 'uw_vocab_contact_group', ['create', 'edit'] ), - 'Delete group' => + 'Delete groups' => UwPermissions::buildRolePermissionsListTaxonomyTerm( 'uw_vocab_contact_group', ['delete'] @@ -179,12 +179,12 @@ class UwPermissions { UwPermissions::buildRolePermissionsListContentType( 'uw_ct_profile' ), - 'Create/edit type' => + 'Create/edit types' => UwPermissions::buildRolePermissionsListTaxonomyTerm( 'uw_vocab_profile_type', ['create', 'edit'] ), - 'Delete type' => + 'Delete types' => UwPermissions::buildRolePermissionsListTaxonomyTerm( 'uw_vocab_profile_type', ['delete'] @@ -209,7 +209,7 @@ class UwPermissions { // Special alert permissions. 'Special alert' => [ - 'Administer Display' => + 'Use' => UwPermissions::buildRolePermissionsListCustom( 'administer special alert' ), diff --git a/uw_cfg_common.install b/uw_cfg_common.install index 915a0979fc91015591804382a1e409a524a4ecb1..7acfdc6bdf67cc1541044bf727e785b76f3036e4 100644 --- a/uw_cfg_common.install +++ b/uw_cfg_common.install @@ -34,12 +34,12 @@ function uw_cfg_common_install() { 'Content author', 'Content editor', ], - 'Create/edit group' => [ + 'Create/edit groups' => [ 'Site manager', 'Content author', 'Content editor', ], - 'Delete group' => [ + 'Delete groups' => [ 'Site manager', ], ], @@ -118,12 +118,12 @@ function uw_cfg_common_install() { 'Content author', 'Content editor', ], - 'Create/edit type' => [ + 'Create/edit types' => [ 'Site manager', 'Content author', 'Content editor', ], - 'Delete type' => [ + 'Delete types' => [ 'Site manager', ], ], @@ -142,7 +142,7 @@ function uw_cfg_common_install() { ], ], 'Special alert' => [ - 'Administer Display' => [ + 'Use' => [ 'Site manager', ], ],