summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootmenuController.php
diff options
context:
space:
mode:
authorSimon2011-04-07 14:45:58 +0200
committerSimon2011-04-07 14:45:58 +0200
commite0da08150df720b993e9d38e14d7cfb0ccc87150 (patch)
tree164c0079c14da86d21054d52ac95233c158ea721 /application/modules/user/controllers/BootmenuController.php
parentserialnumber von bootiso an usb stick angepasst (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-e0da08150df720b993e9d38e14d7cfb0ccc87150.tar.gz
pbs2-e0da08150df720b993e9d38e14d7cfb0ccc87150.tar.xz
pbs2-e0da08150df720b993e9d38e14d7cfb0ccc87150.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
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');
}