Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: prevent dbmem reading other groups when getting group members #14581

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 Sep 6, 2024

Fixes a very minor bug that prevents retrieving the info of a group after a group with members has already been deleted. This bug was breaking the coderd provider CI, as we test using dbmem.

I've just changed the provider to test against postgres (because nobody uses dbmem), so this PR is just for the sake of it.

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 marked this pull request as ready for review September 6, 2024 04:47
@ethanndickson ethanndickson requested a review from Emyrk September 6, 2024 04:48
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

@ethanndickson ethanndickson merged commit 918bea1 into main Sep 9, 2024
43 checks passed
@ethanndickson ethanndickson deleted the 09-06-fix_prevent_dbmem_reading_other_groups_when_getting_group_members branch September 9, 2024 04:33
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 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.

2 participants