Permalink
Browse files

MINOR Placing 'ADMIN' permission in new 'Administrator' group at the …

…top of the permissions list

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@99601 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 09de9f7 commit 8a1b1960c0301c747f48121f50f55f08fbb0b70c @chillu chillu committed Feb 22, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 security/Permission.php
View
@@ -492,7 +492,8 @@ public static function get_codes($blankItemText = null) {
// : $blankItemText;
// }
- $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

0 comments on commit 8a1b196

Please sign in to comment.