backdrop-contrib / simplesamlphp_auth

Support SAML for authentication of users. The module will auto-provision user accounts and dynamically assign roles in Backdrop CMS if you want it to.
https://backdropcms.org/project/simplesamlphp_auth
GNU General Public License v2.0
2 stars 3 forks source link

Roles are being wiped out #21

Closed laryn closed 1 year ago

laryn commented 1 year ago

I'm finding that if I don't specify any roles in the rolepopulation setting, a user's roles (which had been set in a hook_user_presave() implementation in a separate module) are getting wiped out. Maybe if that config setting is empty we can just skip any adjustments to the roles? PR coming.