diff options
Diffstat (limited to 'application/modules/user/controllers/PersonController.php')
| -rw-r--r-- | application/modules/user/controllers/PersonController.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/application/modules/user/controllers/PersonController.php b/application/modules/user/controllers/PersonController.php index 41f7122..ad8f596 100644 --- a/application/modules/user/controllers/PersonController.php +++ b/application/modules/user/controllers/PersonController.php @@ -277,7 +277,7 @@ class user_PersonController extends Zend_Controller_Action $this->view->userIDsNamespace = $this->userIDsNamespace; $this->view->personList = $this->personmapper->fetchAll(); - + // Search $search = $this->_request->getParam('search'); $mySearch = new Pbs_Search(); @@ -302,6 +302,9 @@ class user_PersonController extends Zend_Controller_Action } public function searchAction(){ + if(Pbs_Acl::checkRight('pso')) { + $this->_redirect('/user'); + } $this->_redirect('/user/person/showall/search/'.($_GET['search'])); } |
