-
Notifications
You must be signed in to change notification settings - Fork 952
Closed
grepdemos/coder
#4Labels
multi-orgtemporary label for multiple organizations related worktemporary label for multiple organizations related work
Description
Remove this guardrail.
Lines 118 to 129 in 2a9234e
if organization.IsDefault { | |
// Multi-organizations is currently an experiment, which means it is feasible | |
// 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{ | |
Message: "Removing members from the default organization is not supported.", | |
Detail: "Multi-organizations is currently an experiment, and until it is fully supported, the default org should be protected.", | |
Validations: nil, | |
}) | |
return | |
} |
Verify:
- UI will still load and function if a user is in 0 orgs without a premium license.
- Verify user is removed from groups if they are removed from an org.
- Their workspaces remain orphaned. (This is correct)
Metadata
Metadata
Assignees
Labels
multi-orgtemporary label for multiple organizations related worktemporary label for multiple organizations related work