From 32ae7a9b7a617655228b1365666e1cf9e0df0e86 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Thu, 15 Nov 2007 22:43:09 +0000 Subject: [PATCH] #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 --- code/SecurityAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/SecurityAdmin.php b/code/SecurityAdmin.php index f266c387..03636123 100644 --- a/code/SecurityAdmin.php +++ b/code/SecurityAdmin.php @@ -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);