-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Bugfix and overrides #72
Conversation
I will need to update the enterprise docs. I'll work on a PR for that on Monday. |
Can you give an example, maybe in the README, of how one might use this? |
Added an overview of what this plugin actually does regarding LDAP, and added descriptions to the table of options for the new Also fixed a few Markdown syntax typos that GitHub was rendering properly, but should still be fixed regardless. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I should also add some tests for these new options... I'll do that tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, this is an awesome change!
In some cases users will need to override the account and group LDAP query patterns, and we previously did not enable this. This PR adds this feature, and it inadvertently fixes a DRY bug regarding the default value of the
id_attr
configuration option.I had to refactor the
_get_groups_for_user
method a bit, but it converts from usingfilter_format
, which just calledescape_filter_chars
:to using
escape_filter_chars
directly: