Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Update sentry user role if LDAP group membership is changed #41

Open
viteksafronov opened this issue Dec 1, 2019 · 1 comment
Open

Comments

@viteksafronov
Copy link

This backend checks for user's group only if the user is not yet a member of an organization. So if the membership was changed in LDAP, Sentry won't know about it leaving the user with same role as it was on create step.
I'd like to manage users roles via LDAP and be sure the Sentry will reflect these changes as well.

@viteksafronov
Copy link
Author

viteksafronov commented Dec 1, 2019

I also think this behavior is contrary to parent option https://django-auth-ldap.readthedocs.io/en/latest/reference.html#std:setting-AUTH_LDAP_ALWAYS_UPDATE_USER, so we probably should respect it too, to update existing membership if the option is set to true (or we could have a separate option for that)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant