diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index b9cd4dd..502c271 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -464,18 +464,18 @@ function isAuthorized() { $roles = $this->Role->calculateCMRoles(); //This call just pulls in user ID from comanage but not Grouper, need the Grouper Id for API calls. - /* + if ($this->Session->check('Auth.User.username')) { $this->userId = $this->Session->read('Auth.User.username'); - }*/ - + } +/* if ($this->Session->check('Plugin.Grouper.UserId')) { $this->userId = $this->Session->read('Plugin.Grouper.UserId'); } else { $this->userId = $this->GrouperGroup->getGrouperUserId(); $this->Session->write('Plugin.Grouper.UserId', $this->userId); } - +*/ // Determine what operations this user can perform // Construct the permission set for this user, which will also be passed to the view.