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

RSE-864 Fix: Case sensitive in users when used LDAP OSS #9062

Merged
merged 13 commits into from May 1, 2024

Conversation

Jesus-Osuna-M
Copy link
Contributor

@Jesus-Osuna-M Jesus-Osuna-M commented Apr 15, 2024

Related to:
https://pagerduty.atlassian.net/browse/RSE-864
https://pagerduty.atlassian.net/browse/RSE-961

Problem:
The username on rundeck is case sensitive while usernames un LDAP are case insensitive this difference generated duplicated users on the RDUSER table since.

Solution:
The use of the method getUserByLoginOrCreate was replaced by findOrCreateUser since both methods had the same logic.

A new feature flag was added to the config.properties

rundeck.feature.caseInsensitiveUsername.enabled=true

By default, this flag will be false meaning that username on login will be case sensitive.

Fixes #6733

@Jesus-Osuna-M Jesus-Osuna-M changed the title modify gormUserDataProvider to allow case insensitive user search RSE-864 Fix: Case sensitive in users when used LDAP module OSS Apr 15, 2024
@Jesus-Osuna-M Jesus-Osuna-M changed the title RSE-864 Fix: Case sensitive in users when used LDAP module OSS RSE-864 Fix: Case sensitive in users when used LDAP OSS Apr 15, 2024
@Jesus-Osuna-M Jesus-Osuna-M added this to the 5.3.0 milestone Apr 15, 2024
@Jesus-Osuna-M Jesus-Osuna-M added the needs documentation Requires documentation change to be submitted to the rundeck/docs repo label Apr 15, 2024
@Jesus-Osuna-M Jesus-Osuna-M marked this pull request as ready for review April 15, 2024 21:24
@Jesus-Osuna-M Jesus-Osuna-M force-pushed the RSE-864-case-sensive-in-users-when-used-ldap branch from 68a170c to 5054043 Compare April 17, 2024 13:19
@Jesus-Osuna-M Jesus-Osuna-M force-pushed the RSE-864-case-sensive-in-users-when-used-ldap branch from 5054043 to 61e8604 Compare April 23, 2024 14:02
…ataProviderSpec.groovy

Co-authored-by: Greg Schueler <greg.schueler@gmail.com>
@Jesus-Osuna-M Jesus-Osuna-M merged commit 15453fd into main May 1, 2024
4 checks passed
@Jesus-Osuna-M Jesus-Osuna-M deleted the RSE-864-case-sensive-in-users-when-used-ldap branch May 1, 2024 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs documentation Requires documentation change to be submitted to the rundeck/docs repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Usernames are case sensitive
2 participants