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

Method CheckUserIsAnOrganizationMember

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

Source from the content-addressed store, hash-verified

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)
144 IncrementCurrentTrialOrgCount(ctx context.Context, userID string) error

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected