diff --git a/pkg/server/api/connect/v1/v1_resolver.go b/pkg/server/api/connect/v1/v1_resolver.go index d6664d46f..b0432fd70 100644 --- a/pkg/server/api/connect/v1/v1_resolver.go +++ b/pkg/server/api/connect/v1/v1_resolver.go @@ -758,9 +758,10 @@ func (r *mutationResolver) RevokePersonalAPIKey(ctx context.Context, input types func (r *mutationResolver) CreateOrganization(ctx context.Context, input types.CreateOrganizationInput) (*types.CreateOrganizationPayload, error) { identity := IdentityFromContext(ctx) - if ok := r.Authorize(ctx, identity.ID, iam.ActionOrganizationCreate); !ok { - return nil, nil - } + // FIXME check email domain and related IDP config + // if ok := r.Authorize(ctx, identity.ID, iam.ActionOrganizationCreate); !ok { + // return nil, nil + // } var ( logoFile *iam.UploadedFile