Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow removing a user from the default organization #14635

Closed
grepdemos/coder
#4
Assignees
jaaydenh
Labels
multi-orgtemporary label for multiple organizations related work
@Emyrk

Description

@Emyrk

Remove this guardrail.

coder/coderd/members.go

Lines 118 to 129 in2a9234e

iforganization.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 work

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp