Instead of only allowing simplesamlphp_auth_user_roles_alter() from firing when variable 'simplesamlphp_auth_roleevaleverytime' is enabled and the roles have been evaluated, always call this hook on _simplesaml_auth_user_login() as I would like to do additional altering of the roles when a user is logged in via saml.

Patch attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sherakama created an issue. See original summary.

sherakama’s picture

FileSize
1.33 KB