MCPcopy Index your code
hub / github.com/rilldata/rill / UpdateSuperuser

Method UpdateSuperuser

admin/database/database.go:140–140  ·  view source on GitHub ↗
(ctx context.Context, userID string, superuser bool)

Source from the content-addressed store, hash-verified

138 CheckUsersEmpty(ctx context.Context) (bool, error)
139 FindSuperusers(ctx context.Context) ([]*User, error)
140 UpdateSuperuser(ctx context.Context, userID string, superuser bool) error
141 CheckUserIsAnOrganizationMember(ctx context.Context, userID, orgID string) (bool, error)
142 CheckUserIsAProjectMember(ctx context.Context, userID, projectID string) (bool, error)
143 GetCurrentTrialOrgCount(ctx context.Context, userID string) (int, error)

Callers 2

SetSuperuserMethod · 0.65
NewSuperuserMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected