mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Removed unnecessary "show" icons in "Roles" and "Member" ComplexTableFields
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101752 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4469b0028a
commit
97a0abb2cc
@ -132,7 +132,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
"Members"
|
||||
);
|
||||
// unset 'inlineadd' permission, we don't want inline addition
|
||||
$memberList->setPermissions(array('show', 'edit', 'delete', 'add'));
|
||||
$memberList->setPermissions(array('edit', 'delete', 'add'));
|
||||
$memberList->setRelationAutoSetting(false);
|
||||
|
||||
$fields = new FieldSet(
|
||||
@ -170,6 +170,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
|
||||
'Roles',
|
||||
'PermissionRole'
|
||||
);
|
||||
$rolesCTF->setPermissions(array('edit', 'delete'));
|
||||
|
||||
$rolesTab = $fields->findOrMakeTab('Root.Roles', _t('SecurityAdmin.TABROLES', 'Roles'));
|
||||
$rolesTab->push(new LiteralField(
|
||||
|
Loading…
Reference in New Issue
Block a user