Skip to content

Commit

Permalink
for Unicon usage
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Mar 29, 2021
1 parent 2a3b08d commit 3e1148f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3e1148f

Please sign in to comment.