Skip to content

fix: block creating oidc users when oidc has not been configured #14064

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

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Jul 31, 2024

Discovered as it was possible to cause an (albeit recoverable) nil dereference when updating the roles of an OIDC user when OIDC had not yet been configured.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ethanndickson and the rest of your teammates on Graphite Graphite

@ethanndickson ethanndickson requested a review from Emyrk July 31, 2024 12:15
Copy link

alwaysmeticulous bot commented Jul 31, 2024

✅ Meticulous spotted zero visual differences across 932 screens tested: view results.

Expected differences? Click here. Last updated for commit 6585dc2. This comment will update as new commits are pushed.

@ethanndickson ethanndickson marked this pull request as ready for review July 31, 2024 12:16
Copy link
Member

@Emyrk Emyrk left a comment

Choose a reason for hiding this comment

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

Good catch! 👍

A unit test would be great, but not required. I can add one later.

@ethanndickson ethanndickson force-pushed the 07-31-fix_block_creating_oidc_users_when_oidc_has_not_been_configured branch from 663a3ba to 6585dc2 Compare August 1, 2024 03:10
@ethanndickson ethanndickson merged commit 956d0cb into main Aug 1, 2024
30 checks passed
@ethanndickson ethanndickson deleted the 07-31-fix_block_creating_oidc_users_when_oidc_has_not_been_configured branch August 1, 2024 03:30
@github-actions github-actions bot locked and limited conversation to collaborators Aug 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants