Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
linting
  • Loading branch information
Emyrk committed Sep 16, 2024
commit cdfb475b0f02a0d307cfe0e6934ea47c81646a4b
1 change: 1 addition & 0 deletions enterprise/coderd/scim.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ func (api *API) scimPostUser(rw http.ResponseWriter, r *http.Request) {
// This is to preserve single org deployment behavior.
organizations := []uuid.UUID{}
if api.IDPSync.AssignDefaultOrganization() {
//nolint:gocritic // SCIM operations are a system user
defaultOrganization, err := api.Database.GetDefaultOrganization(dbauthz.AsSystemRestricted(ctx))
if err != nil {
_ = handlerutil.WriteError(rw, err)
Expand Down
Loading