Skip to content
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

allow LDAP mapping values to be lowercased #348

Merged
merged 1 commit into from
Sep 28, 2022

Conversation

cardoe
Copy link
Contributor

@cardoe cardoe commented Sep 21, 2022

Add the ability to lowercase values when creating label mappings from LDAP attributes. In the example the groups that the user is a member of could be mixed case which would make an ACL like:
match: { account: "/.+/", name: "${labels:groups}/*" }
Not possible. But with this change and the example applied it would be possible.

Add the ability to lowercase values when creating label mappings from
LDAP attributes. In the example the groups that the user is a member of
could be mixed case which would make an ACL like:
  match: { account: "/.+/", name: "${labels:groups}/*" }
Not possible. But with this change and the example applied it would be
possible.
Copy link
Collaborator

@techknowlogick techknowlogick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this contribution!

@cardoe
Copy link
Contributor Author

cardoe commented Sep 28, 2022

What next steps do I need to do to get this merged and released?

@techknowlogick techknowlogick merged commit e0f6301 into cesanta:main Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants