summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootmenuController.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/BootmenuController.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/BootmenuController.php')
-rw-r--r--application/modules/user/controllers/BootmenuController.php4
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');
}