MCPcopy Create free account
hub / github.com/rilldata/rill / FindSuperusers

Method FindSuperusers

admin/database/database.go:139–139  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

137 UpdateUserActiveOn(ctx context.Context, ids []string) error
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)

Callers 1

ListSuperusersMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected