humanmade / humanmade/wp-simple-saml

Role mapping is only done once on user creation, so changes in AD never apply

Open
#94 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
125
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Somewhat related to #58 in terms of AD values only being used when creating a user for the first time, the user roles and mappings are only processed once when a user first logs in and a WP user entry is created.

If there are subsequent changes in AD to a users roles etc... then these will not be updated in WP on subsequent login attempts so there is a sync issue.

We could make this behaviour default, with a return true/false filter to opt out of it, or vice versa, allowing sites to opt in to this behaviour instead. Given you already have to opt in to user role mapping via AD using a filter, I would vote for making this the default behaviour when using AD for managing roles.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.