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/BootosController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/modules/user/controllers/BootosController.php') 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/"; -- cgit v1.2.3-55-g7522