#1763 - Blank popup in security section (merged from branches/2.2.0, r44789)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44920 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-11-15 22:43:09 +00:00
parent fe054ae21d
commit 32ae7a9b7a

View File

@ -61,7 +61,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
if(!Permission::check('EDIT_PERMISSIONS')) $fields->removeFieldFromTab('Root', 'Permissions');
$memberList->setController($this);
$memberList->setPermissions(array('show', 'edit', 'delete', 'export'));
$memberList->setPermissions(array('show', 'edit', 'delete', 'export', 'add'));
$fields->push($idField = new HiddenField("ID"));
$idField->setValue($id);