diff options
| author | Simon | 2011-04-11 13:26:27 +0200 |
|---|---|---|
| committer | Simon | 2011-04-11 13:26:27 +0200 |
| commit | 441ffc49230ddedf3e692466bda1fb0d27ace8fd (patch) | |
| tree | 6e0b2c34931b60987df7d80186d50a7e3eb3e0df /application/modules/user/controllers/BootmenuController.php | |
| parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-441ffc49230ddedf3e692466bda1fb0d27ace8fd.tar.gz pbs2-441ffc49230ddedf3e692466bda1fb0d27ace8fd.tar.xz pbs2-441ffc49230ddedf3e692466bda1fb0d27ace8fd.zip | |
Neues Recht um default Bootmenu zu setzen & Bootmenu-REchte angepasst
Diffstat (limited to 'application/modules/user/controllers/BootmenuController.php')
| -rw-r--r-- | application/modules/user/controllers/BootmenuController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/user/controllers/BootmenuController.php b/application/modules/user/controllers/BootmenuController.php index 754c45d..30e4098 100644 --- a/application/modules/user/controllers/BootmenuController.php +++ b/application/modules/user/controllers/BootmenuController.php @@ -257,7 +257,7 @@ class user_BootmenuController extends Zend_Controller_Action { //ACL Is he allowed to set Bootmenu as Default? - if(!Pbs_Acl::checkRight('booai')) + if(!Pbs_Acl::checkRight('boodbm')) $this->_redirect('/user/bootmenu/index/type/'.$this->type.'/page/'.$this->page.'/modifyresult/forbidden'); try{ @@ -446,7 +446,7 @@ class user_BootmenuController extends Zend_Controller_Action if($this->membership->getID() != $bootmenu->getMembershipID() || !Pbs_Acl::checkRight('booeeo')) $this->_redirect('/user/bootmenu/index/type/'.$this->type.'/page/'.$this->page.'/modifyresult/forbidden'); }else{ - if($this->membership->getGroupID() != $bootmenu->getGroupID() || !Pbs_Acl::checkRight('booee')) + if($this->membership->getGroupID() != $bootmenu->getGroupID() || (!Pbs_Acl::checkRight('booee') && !Pbs_Acl::checkRight('booeem'))) $this->_redirect('/user/bootmenu/index/type/'.$this->type.'/page/'.$this->page.'/modifyresult/forbidden'); } |
