diff options
| author | Björn Geiger | 2011-03-27 16:44:55 +0200 |
|---|---|---|
| committer | Björn Geiger | 2011-03-27 16:44:55 +0200 |
| commit | aaf8275e5ff92504357c5f3167a3f256d0d393ad (patch) | |
| tree | 1b6faae50f95f7a3bc2c51c452fc33c8f867caa4 /application/modules/user/controllers/GroupController.php | |
| parent | Compare Methode bei allen Mappern ergänzt (diff) | |
| download | pbs2-aaf8275e5ff92504357c5f3167a3f256d0d393ad.tar.gz pbs2-aaf8275e5ff92504357c5f3167a3f256d0d393ad.tar.xz pbs2-aaf8275e5ff92504357c5f3167a3f256d0d393ad.zip | |
Rollenverwaltung User Module
Diffstat (limited to 'application/modules/user/controllers/GroupController.php')
| -rw-r--r-- | application/modules/user/controllers/GroupController.php | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/application/modules/user/controllers/GroupController.php b/application/modules/user/controllers/GroupController.php index 21944d3..52136af 100644 --- a/application/modules/user/controllers/GroupController.php +++ b/application/modules/user/controllers/GroupController.php @@ -3,15 +3,19 @@ class User_GroupController extends Zend_Controller_Action { - public function init() - { - /* Initialize action controller here */ - } + public function init() + { + if (Zend_Auth::getInstance()->hasIdentity()) { - public function indexAction() - { - // action body - } + } else { + $this->_helper->redirector('login', 'auth'); + } + } + + public function indexAction() + { + // action body + } } |
