MCPcopy Create free account
hub / github.com/PostHog/duckgres / CreateOrgUser

Method CreateOrgUser

controlplane/provisioning/api.go:81–81  ·  view source on GitHub ↗
(orgID, username, passwordHash string)

Source from the content-addressed store, hash-verified

79 Provision(req ProvisionRequest) error
80 CreatePendingWarehouse(orgID, databaseName string, warehouse *configstore.ManagedWarehouse) error
81 CreateOrgUser(orgID, username, passwordHash string) error
82 // GetOrgUser reads one login. Used to preflight the Trino opt-in: an org
83 // with no `root` user cannot be projected into a cell, and the reconcile
84 // loop skips it silently, so the API rejects it up front instead.

Callers 1

CreateOrgUserMethod · 0.65

Implementers 2

gormStorecontrolplane/provisioning/store.go
fakeStorecontrolplane/provisioning/api_test.go

Calls

no outgoing calls

Tested by

no test coverage detected