mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
MINOR shuffled permissions around, gave them help text and categorized them. (from r90371)
This commit is contained in:
parent
05d2e51dfa
commit
d677415860
@ -210,7 +210,12 @@ class GroupSubsites extends DataObjectDecorator implements PermissionProvider {
|
||||
|
||||
function providePermissions() {
|
||||
return array(
|
||||
'SECURITY_SUBSITE_GROUP' => 'Manage subsites for groups'
|
||||
'SECURITY_SUBSITE_GROUP' => array(
|
||||
'name' => 'Manage subsites for groups',
|
||||
'category' => 'Roles and access permissions',
|
||||
'help' => 'Ability to limit the permissions for a group to one or more subsites.',
|
||||
'sort' => 200
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -547,7 +547,12 @@ JS;
|
||||
|
||||
function providePermissions() {
|
||||
return array(
|
||||
'SUBSITE_ASSETS_CREATE_SUBSITE' => 'Manage assets for subsites'
|
||||
'SUBSITE_ASSETS_CREATE_SUBSITE' => array(
|
||||
'name' => 'Manage assets for subsites',
|
||||
'category' => 'Roles and access permissions',
|
||||
'help' => 'Ability to select the subsite to which an asset folder belongs. Requires "Access to Files & Images."',
|
||||
'sort' => 300
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user