mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
Merge pull request #212 from bummzack/3.0
Fixing issue #7902. Users with limited rights can't access "Settings" in the CMS
This commit is contained in:
commit
1c50eb540a
@ -6,7 +6,8 @@ class CMSSettingsController extends LeftAndMain {
|
||||
static $menu_priority = -1;
|
||||
static $menu_title = 'Settings';
|
||||
static $tree_class = 'SiteConfig';
|
||||
|
||||
static $required_permission_codes = array('EDIT_SITECONFIG');
|
||||
|
||||
public function getResponseNegotiator() {
|
||||
$neg = parent::getResponseNegotiator();
|
||||
$controller = $this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user