summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/ConfigController.php
diff options
context:
space:
mode:
authormichael pereira2011-04-07 14:45:47 +0200
committermichael pereira2011-04-07 14:45:47 +0200
commit30963f047c24cbd3fa9c8c4af736c509caafbfe3 (patch)
treec33202190e20221b26f0b1f608117ea9118f9da1 /application/modules/user/controllers/ConfigController.php
parentBootos und Configs in Bootmenuentry categorisiert (diff)
downloadpbs2-30963f047c24cbd3fa9c8c4af736c509caafbfe3.tar.gz
pbs2-30963f047c24cbd3fa9c8c4af736c509caafbfe3.tar.xz
pbs2-30963f047c24cbd3fa9c8c4af736c509caafbfe3.zip
Meta Recht geändert
Diffstat (limited to 'application/modules/user/controllers/ConfigController.php')
-rw-r--r--application/modules/user/controllers/ConfigController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/user/controllers/ConfigController.php b/application/modules/user/controllers/ConfigController.php
index bbc0c8f..1af05cc 100644
--- a/application/modules/user/controllers/ConfigController.php
+++ b/application/modules/user/controllers/ConfigController.php
@@ -132,7 +132,7 @@ class user_ConfigController extends Zend_Controller_Action
public function editconfigAction()
{
//ACL Darf er Configs editieren?
- if(!Pbs_Acl::checkRight('ce'))
+ if(!Pbs_Acl::checkRight('ce') && !Pbs_Acl::checkRight('cem'))
$this->_redirect('/user/config/index/page/'.$this->page.'/modifyresult/forbidden');
$configID = $this->_request->getParam('configID');
@@ -176,7 +176,7 @@ class user_ConfigController extends Zend_Controller_Action
if($configold->getShellscript() != $config->getShellscript()){
//ACL Is he allowed to edit other than Metadata?
- if(Pbs_Acl::checkRight('cem'))
+ if(!Pbs_Acl::checkRight('ce'))
$this->_redirect('/user/config/index/page/'.$this->page.'/modifyresult/forbidden');
}