summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/GroupController.php
diff options
context:
space:
mode:
authorSimon2011-04-13 16:54:56 +0200
committerSimon2011-04-13 16:54:56 +0200
commitc4962f7fb4410f9eb695298a617334d6c8ab2155 (patch)
tree9c87f3b5d3473fedaa2d8afa9411d75c82f41c63 /application/modules/user/controllers/GroupController.php
parentRechte in Gruppen nächster Teil (diff)
downloadpbs2-c4962f7fb4410f9eb695298a617334d6c8ab2155.tar.gz
pbs2-c4962f7fb4410f9eb695298a617334d6c8ab2155.tar.xz
pbs2-c4962f7fb4410f9eb695298a617334d6c8ab2155.zip
Rechte in Group nächster Teil
Diffstat (limited to 'application/modules/user/controllers/GroupController.php')
-rw-r--r--application/modules/user/controllers/GroupController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/user/controllers/GroupController.php b/application/modules/user/controllers/GroupController.php
index 2d4fc64..e266ad7 100644
--- a/application/modules/user/controllers/GroupController.php
+++ b/application/modules/user/controllers/GroupController.php
@@ -207,7 +207,7 @@ class User_GroupController extends Zend_Controller_Action
}
}
if($groupID == $this->membership->getGroupID() && !Pbs_Acl::checkRight('gsdo'))
- $this->_redirect('/user');
+ $this->_redirect('/user');
$this->view->usergroup = $this->membership->getGroupID();
$this->view->requestgroup = $groupID;
@@ -231,7 +231,7 @@ class User_GroupController extends Zend_Controller_Action
}
# }
- if(Pbs_Acl::checkRight('gsmg')){
+ if(Pbs_Acl::checkRight('gsmg') || Pbs_Acl::checkRight('gsmgo')){
$members = $this->membershipMapper->findBy(array('groupID' => $groupID),true);
if(isset($members)) {
foreach($members as $member) {