Skip to content

chore: prevent removing members from the default organization #14094

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

Merged
merged 6 commits into from
Aug 5, 2024

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Aug 1, 2024

Until multi-organizations is released outside an experiment, the experiment should be backwards compatible.

Closes #14005

Until multi-organizations is released outside an experiment, the
experiment should be backwards compatible.
@Emyrk Emyrk requested a review from f0ssel August 2, 2024 20:15
// for a deployment to enable, then disable this. To maintain backwards
// compatibility, this safety is necessary.
// TODO: Remove this check when multi-organizations is fully supported.
httpapi.Write(ctx, rw, http.StatusBadRequest, codersdk.Response{
Copy link
Contributor

Choose a reason for hiding this comment

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

Ideally I'd like to have a test confirm this path behavior

@Emyrk Emyrk merged commit 0ad5f60 into main Aug 5, 2024
31 checks passed
@Emyrk Emyrk deleted the stevenmasley/keep_default_members branch August 5, 2024 18:48
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 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.

Disable removing users from the default org
2 participants