-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Groups not being updated on existing accounts #250
Comments
Hey Artur. Would you mind sharing your config? Either (redacted) as screenshot or via email to andreas AT heigl DOT org? That would help me immensly in figuring out what went south. |
Hm. That looks perfectly valid. I'll have to check some tests and will get back to you. |
When users change their groups in LDAP that is not followed up in WordPress. THis newly added test verifies that. Next up is fixing this problem
Thanks for raising the issue! I was able to verify the problem in a new test. Fix will be upcoming! |
Perfect, you're great! |
Hi @heiglandreas , btw, I tried to install 2.6.1 from github but WP says the zip contains already installed 2.6.0... cheers, Mat |
When users change their groups in LDAP that is not followed up in WordPress. THis newly added test verifies that. Next up is fixing this problem
Thank you all for your patience! I just released a new fix version that should fix the issue. It also fixes the missing version increment 🙈 |
@heiglandreas
so any additional role assigned to the user is removed and only the administrator role remains. |
Ahhhh. OK. I think in that case the "highes" role "wins".... I need to dig into that but think that needs a separate config flag... |
Thanks for providing this awesome plugin!
I've setup the plugin to correctly resolve my users and groups. All works great on the first login and changes of LDAP passwords also reflect correctly when login in the next time.
However, if I change the group mapping or the LDAP group membership of the user the WP association is not updated accordingly.
The debug output is as follows:
So it seems the group mapping is not queried anymore and thus kept from the first login. This also means it is impossible to revoke the right to access WP from LDAP.
Would be happy for any help.
The text was updated successfully, but these errors were encountered: