summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/BootosController.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/BootosController.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/BootosController.php')
-rw-r--r--application/modules/user/controllers/BootosController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/user/controllers/BootosController.php b/application/modules/user/controllers/BootosController.php
index 59efff0..aad26aa 100644
--- a/application/modules/user/controllers/BootosController.php
+++ b/application/modules/user/controllers/BootosController.php
@@ -274,7 +274,7 @@ class user_BootosController extends Zend_Controller_Action
{
//ACL Is he allowed to edit Preboots?
- if(!Pbs_Acl::checkRight('boe'))
+ if(!Pbs_Acl::checkRight('boe') && !Pbs_Acl::checkRight('boem'))
$this->_redirect('/user/bootos/index/page/'.$this->page.'/modifyresult/forbidden');
$bootosID = $this->_request->getParam('bootosID');
@@ -328,13 +328,13 @@ class user_BootosController extends Zend_Controller_Action
$bootos->getExpires() != $bootosold->getExpires() ||
$bootos->getPublic() != $bootosold->getPublic() ){
//ACL Is he allowed to edit this?
- if(Pbs_Acl::checkRight('boem'))
+ if(!Pbs_Acl::checkRight('boe'))
$this->_redirect('/user/bootos/index/page/'.$this->page.'/modifyresult/forbidden');
}
if($bootos->getPath_kernel() != $bootosold->getPath_kernel() || $bootos->getPath_init() != $bootosold->getPath_init()){
//ACL Is he allowed to edit the Kernel/Init Path?
- if(Pbs_Acl::checkRight('boem'))
+ if(!Pbs_Acl::checkRight('boe'))
$this->_redirect('/user/bootos/index/page/'.$this->page.'/modifyresult/forbidden');
$path_tmp = "../resources/bootos/";