Skip to content

allow LDAP mapping values to be lowercased#348

Merged
techknowlogick merged 1 commit intocesanta:mainfrom
cardoe:lowercase
Sep 28, 2022
Merged

allow LDAP mapping values to be lowercased#348
techknowlogick merged 1 commit intocesanta:mainfrom
cardoe:lowercase

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.

2 participants