mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
#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:
parent
fe054ae21d
commit
32ae7a9b7a
@ -61,7 +61,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
|||||||
if(!Permission::check('EDIT_PERMISSIONS')) $fields->removeFieldFromTab('Root', 'Permissions');
|
if(!Permission::check('EDIT_PERMISSIONS')) $fields->removeFieldFromTab('Root', 'Permissions');
|
||||||
|
|
||||||
$memberList->setController($this);
|
$memberList->setController($this);
|
||||||
$memberList->setPermissions(array('show', 'edit', 'delete', 'export'));
|
$memberList->setPermissions(array('show', 'edit', 'delete', 'export', 'add'));
|
||||||
|
|
||||||
$fields->push($idField = new HiddenField("ID"));
|
$fields->push($idField = new HiddenField("ID"));
|
||||||
$idField->setValue($id);
|
$idField->setValue($id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user