MINOR Fixed regression from r101752 (adding permission roles button was missing)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@102010 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-03-31 23:17:46 +00:00 committed by Sam Minnee
parent f3f129f44b
commit 1d259855c3

View File

@ -170,7 +170,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
'Roles',
'PermissionRole'
);
$rolesCTF->setPermissions(array('edit', 'delete'));
$rolesCTF->setPermissions(array('add', 'edit', 'delete'));
$rolesTab = $fields->findOrMakeTab('Root.Roles', _t('SecurityAdmin.TABROLES', 'Roles'));
$rolesTab->push(new LiteralField(