Skip to content

Commit

Permalink
Reverted admin map
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Mar 29, 2023
1 parent 9277b56 commit abe9f94
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Controller/GrouperGroupsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -789,16 +789,18 @@ function isAuthorized()

//TODO - This is needed for my dev enviro since I do not log in via I2 IdP
// BEGIN ===============================================
/*
if ($this->Session->check('Auth.User.username')) {
$this->userId = $this->Session->read('Auth.User.username');
}
*/
// END ===============================================

//TODO - Need to make the following code configurable in getting the user ID. In this case the code is
// specific to the needs of I2.
// BEGIN ===============================================

/*

$uid=$this->Session->read('Auth.User.co_person_id');
$username=$this->Session->read('Auth.User.username');
error_log("HUBING ================ " . $username);
Expand Down Expand Up @@ -839,7 +841,7 @@ function isAuthorized()
$this->Session->write('Plugin.Grouper.UserId', $this->userId);
}
// END ===============================================
*/


// 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 abe9f94

Please sign in to comment.