We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b03cb00 commit cdfb475Copy full SHA for cdfb475
enterprise/coderd/scim.go
@@ -223,6 +223,7 @@ func (api *API) scimPostUser(rw http.ResponseWriter, r *http.Request) {
223
// This is to preserve single org deployment behavior.
224
organizations := []uuid.UUID{}
225
if api.IDPSync.AssignDefaultOrganization() {
226
+ //nolint:gocritic // SCIM operations are a system user
227
defaultOrganization, err := api.Database.GetDefaultOrganization(dbauthz.AsSystemRestricted(ctx))
228
if err != nil {
229
_ = handlerutil.WriteError(rw, err)
0 commit comments