atom
atom copied to clipboard
Problem: CAS/Shibboleth User Role not "Applied" after logging in first time
Current Behavior
Steps to reproduce the behavior
- Enable CAS
- Setup CAS For groups
- Add user to say "administrators" group
- Login as user
- You see they do not have access to settings, etc...
- 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