From abe9f94c4d276b84313d8bddfe41d1e2d81ec361 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Wed, 29 Mar 2023 15:16:53 -0700 Subject: [PATCH] Reverted admin map --- Controller/GrouperGroupsController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php index 904f296..b024ef6 100644 --- a/Controller/GrouperGroupsController.php +++ b/Controller/GrouperGroupsController.php @@ -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); @@ -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.