atom icon indicating copy to clipboard operation
atom copied to clipboard

Problem: CAS/Shibboleth User Role not "Applied" after logging in first time

Open misilot opened this issue 1 year ago • 0 comments

Current Behavior

Steps to reproduce the behavior

  1. Enable CAS
  2. Setup CAS For groups
  3. Add user to say "administrators" group
  4. Login as user
  5. You see they do not have access to settings, etc...
  6. However, if you look at the user it shows they are an administrator

What I think is happening is the interface gets cached as an authenticated user, and they can't see any of the settings until the cache is cleared or we run php symfony cc. My guess is because the role is being added in later in the flow?https://github.com/artefactual/atom/blob/qa/2.x/plugins/arCasPlugin/lib/casUser.class.php#L116-L131

Expected Behavior

User Logs in and gets appropriate permissions, without having to have cache time out.

Possible Solution

No response

Context and Notes

No response

Version used

AtoM 2.6.4 and AtoM 2.8.1

Operating System and version

Ubuntu 20.04

Default installation culture

en

PHP version

PHP 7.4

Contact details

No response

misilot avatar Apr 11 '24 16:04 misilot