BUGFIX SecurityAdmin shows incorrect breadcrumbs for viewing Roles GridField. Partially reverts 16982ba17c.

This commit is contained in:
Sean Harvey 2012-05-28 11:46:25 +12:00
parent 74d444cf2f
commit 79680137b1

View File

@ -129,7 +129,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
// Add roles editing interface // Add roles editing interface
if(Permission::check('APPLY_ROLES')) { if(Permission::check('APPLY_ROLES')) {
$rolesField = GridField::create('Role', $rolesField = GridField::create('Roles',
false, false,
DataList::create('PermissionRole'), DataList::create('PermissionRole'),
GridFieldConfig_RecordEditor::create() GridFieldConfig_RecordEditor::create()