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 ff5517c..9cdf258 100644 --- a/application/modules/user/controllers/PersonController.php +++ b/application/modules/user/controllers/PersonController.php @@ -276,7 +276,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(); @@ -301,6 +301,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'])); } |
