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:
Ingo Schommer 2012-10-01 12:44:56 -07:00
commit 1c50eb540a

View File

@ -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;