From 30963f047c24cbd3fa9c8c4af736c509caafbfe3 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Thu, 7 Apr 2011 14:45:47 +0200 Subject: Meta Recht geƤndert --- application/modules/user/controllers/BootmenuController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/modules/user/controllers/BootmenuController.php') 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'); } -- cgit v1.2.3-55-g7522