diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index b024ef6..c889e60 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -65,6 +65,10 @@ public function beforeFilter() { parent::beforeFilter(); + if($this->Session->read('Auth.User.username') !== null || $this->Session->read('Auth.User.username') == ''){ + $this->Auth->unauthorizedRedirect = "/"; + } + $this->Security->unlockedActions = array('removeSubscriber', 'addSubscriber'); //Need to find which plugin instance choosing, if more than one from cm_co_grouper_lites