diff options
Diffstat (limited to 'application/modules/user/controllers/BootmenuController.php')
| -rw-r--r-- | application/modules/user/controllers/BootmenuController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/user/controllers/BootmenuController.php b/application/modules/user/controllers/BootmenuController.php index 77f509c..466ecb8 100644 --- a/application/modules/user/controllers/BootmenuController.php +++ b/application/modules/user/controllers/BootmenuController.php @@ -333,7 +333,7 @@ class user_BootmenuController extends Zend_Controller_Action public function editbootmenuentryAction() { //ACL Is he allowed to edit BootMenus? - if(!Pbs_Acl::checkRight('booee')) + if(!Pbs_Acl::checkRight('booee') && !Pbs_Acl::checkRight('booeem')) $this->_redirect('/user/bootmenu/index/page/'.$this->page.'/modifyresult/forbidden'); $bootmenuentryID = $this->_request->getParam('bootmenuentryID'); @@ -421,7 +421,7 @@ class user_BootmenuController extends Zend_Controller_Action $bootmenuentryold->getKcl() != $bootmenuentry->getKcl() || $bootmenuentryold->getKclappend() != $bootmenuentry->getKclappend()){ //ACL Is he allowed to edit this? - if(Pbs_Acl::checkRight('booeem')) + if(!Pbs_Acl::checkRight('booee')) $this->_redirect('/user/bootmenu/index/page/'.$this->page.'/modifyresult/forbidden'); } |
