mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Placing 'ADMIN' permission in new 'Administrator' group at the top of the permissions list (from r99601)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99668 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
29c8e8ba07
commit
eb5b5869ff
@ -476,7 +476,8 @@ class Permission extends DataObject {
|
||||
$classes = ClassInfo::implementorsOf('PermissionProvider');
|
||||
|
||||
$allCodes = array();
|
||||
$allCodes['Roles and access permissions']['ADMIN'] = array(
|
||||
$adminCategory = _t('Permission.AdminGroup', 'Administrator');
|
||||
$allCodes[$adminCategory]['ADMIN'] = array(
|
||||
'name' => _t('Permission.FULLADMINRIGHTS', 'Full administrative rights'),
|
||||
'help' => null,
|
||||
'sort' => 100000
|
||||
|
Loading…
Reference in New Issue
Block a user