diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index 96df0fd..b1b67f4 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -62,11 +62,14 @@ public function index() { public function groupInfo() { $name = urldecode($this->request->query['groupname']); + $details = $this->GrouperGroup->groupDescriptions($name); $this->set('groupname', $name); $this->set('title', _txt('pl.grouperlite.title.groupinfo')); $this->set('groupergroupsdetail', $details[0]); + + $this->set('isuserowner', $this->GrouperGroup->isUserOwner($this->userId)); } public function groupOwner() { diff --git a/Model/GrouperAttribute.php b/Model/GrouperAttribute.php index d1c865f..f57c2fb 100644 --- a/Model/GrouperAttribute.php +++ b/Model/GrouperAttribute.php @@ -58,6 +58,8 @@ private function initApi() { * @throws GrouperLiteException */ public function getGroupAttributes(string $groupName) { + $this->initApi(); + $args = array(); $args['conditions']['groupName'] = $groupName; diff --git a/View/Elements/Components/navigation.ctp b/View/Elements/Components/navigation.ctp index a0e2c68..4385907 100644 --- a/View/Elements/Components/navigation.ctp +++ b/View/Elements/Components/navigation.ctp @@ -63,17 +63,19 @@ */ ?> -
+ | + |