-
Notifications
You must be signed in to change notification settings - Fork 4.4k
check for case sensitivity at delete for user and group paths, modify… #29922
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
check for case sensitivity at delete for user and group paths, modify… #29922
Conversation
… tests to cover proper deletions
CI Results: |
Build Results: |
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.
Looks good! Thanks :)
Hi @stevendpclark! I just wanted to confirm, do we need to remove the tag for backport/1.18.x because the branch is blocked? Wanted to double check if we need to add it later? |
@aslamovamir You should use the enterprise 1.18.x tag as you have, we won't be doing any more 1.18 CE releases now that 1.19 is out so effectively that branch is no longer maintained. |
Ah okay, thanks for clarifying! |
Description
What does this PR do?
Fixes a bug that does not properly delete users and groups by first converting their names to lowercase when case senstivity option is off. This bug was raised from community here: #29355
Added unit tests and manually tested by rerunning the commands that was run to reproduce the bug (check here for more details):

TODO only if you're a HashiCorp employee
backport/
label that matches the desired release branch. Note that in the CE repo, the latest release branch will look likebackport/x.x.x
, but older release branches will bebackport/ent/x.x.x+ent
.of a public function, even if that change is in a CE file, double check that
applying the patch for this PR to the ENT repo and running tests doesn't
break any tests. Sometimes ENT only tests rely on public functions in CE
files.
in the PR description, commit message, or branch name.
description. Also, make sure the changelog is in this PR, not in your ENT PR.