Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Resolve username to ID for filetree_create #806

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

Tompage1994
Copy link
Collaborator

What does this PR do?

Fixes an issue where the username was used to lookup roles. This doesn't work if the username is made of entirely numbers. This resolves the username to an ID first.

How should this be tested?

Create a user 123456 and run the filetree_create against it

Is there a relevant Issue open for this?

resolves AAP-22273 (RH Internal Only)

Other Relevant info, PRs, etc

Copy link
Collaborator

@djdanielsson djdanielsson left a comment

Choose a reason for hiding this comment

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

LGTM

@djdanielsson djdanielsson enabled auto-merge (squash) April 4, 2024 14:47
@djdanielsson djdanielsson merged commit 666a5a3 into redhat-cop:devel Apr 4, 2024
13 checks passed
przemkalit pushed a commit to przemkalit/aap_configuration that referenced this pull request Nov 22, 2024
Co-authored-by: David Danielsson <djdanielsson@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants