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

JWT Auth ignore is_superuser value if False #623

Merged
merged 6 commits into from
Sep 27, 2024

Conversation

fosterseth
Copy link
Member

@fosterseth fosterseth commented Sep 27, 2024

Fixes scenario where bob is a normal user in gateway, but is superuser in controller.

JWTAuth logic will update the bob user with is_superuser False, which is not what we want.

Instead, ignore is_superuser, unless the value is True

Fixes scenario where bob is a normal user
in gateway, but is superuser in controller.

JWTAuth logic will update the bob user with
is_superuser False.

Signed-off-by: Seth Foster <[email protected]>
Signed-off-by: Seth Foster <[email protected]>
Signed-off-by: Seth Foster <[email protected]>
Signed-off-by: Seth Foster <[email protected]>
Signed-off-by: Seth Foster <[email protected]>
Signed-off-by: Seth Foster <[email protected]>
Copy link

sonarcloud bot commented Sep 27, 2024

@fosterseth fosterseth merged commit 5f1ca89 into ansible:devel Sep 27, 2024
11 checks passed
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