MINOR shuffled permissions around, gave them help text and categorized them. (from r90371)

This commit is contained in:
Tom Rix 2010-03-01 21:39:48 +00:00
parent 05d2e51dfa
commit d677415860
2 changed files with 12 additions and 2 deletions

View File

@ -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
)
);
}

View File

@ -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
)
);
}