summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/PersonController.php
diff options
context:
space:
mode:
authormichael pereira2011-04-18 16:33:17 +0200
committermichael pereira2011-04-18 16:33:17 +0200
commitbada6bd9bade4a5cb3b87fed44a2de9a2a599010 (patch)
tree3af1a31a11bdc12528f1cd19e7358f0de385ee7e /application/modules/user/controllers/PersonController.php
parentAPI-Key bei Membership & BootOS über API fertig (diff)
parentFilterLibrary - Escapen von Argumenten (diff)
downloadpbs2-bada6bd9bade4a5cb3b87fed44a2de9a2a599010.tar.gz
pbs2-bada6bd9bade4a5cb3b87fed44a2de9a2a599010.tar.xz
pbs2-bada6bd9bade4a5cb3b87fed44a2de9a2a599010.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/controllers/PersonController.php')
-rw-r--r--application/modules/user/controllers/PersonController.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/application/modules/user/controllers/PersonController.php b/application/modules/user/controllers/PersonController.php
index 4ec8297..e21a896 100644
--- a/application/modules/user/controllers/PersonController.php
+++ b/application/modules/user/controllers/PersonController.php
@@ -71,12 +71,12 @@ class user_PersonController extends Zend_Controller_Action
if(!Pbs_Acl::checkRight('pso')) {
$this->_redirect('/user');
}
- $this->view->showRight = Pbs_Acl::checkRight('psod');
- $this->view->editRight = Pbs_Acl::checkRight('peoa');
- $this->view->deleteRight = Pbs_Acl::checkRight('pd');
+ $this->view->showRight = true;//Pbs_Acl::checkRight('psod');
+ $this->view->editRight = Pbs_Acl::checkRight('peod');
+ $this->view->deleteRight = Pbs_Acl::checkRight('pdo');
$this->view->showOtherRight = Pbs_Acl::checkRight('psood');
$this->view->editOtherRight = Pbs_Acl::checkRight('peoa');
- $this->view->deleteOtherRight = Pbs_Acl::checkRight('pdo');
+ $this->view->deleteOtherRight = Pbs_Acl::checkRight('pd');
$this->view->suspendRight = Pbs_Acl::checkRight('psa');
$this->view->userIDsNamespace = $this->userIDsNamespace;
@@ -425,6 +425,9 @@ class user_PersonController extends Zend_Controller_Action
public function deleterequestAction()
{
+ if(!Pbs_Acl::checkRight('gdm')) {
+ $this->_redirect('/user');
+ }
$grouprequestID = $this->_request->getParam('grouprequestID');
$grouprequest = $this->groupRequestMapper->find($grouprequestID);
try {