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

Method FindProjectMemberUserRole

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

Source from the content-addressed store, hash-verified

251
252 FindProjectMemberUsers(ctx context.Context, orgID, projectID, filterRoleID, afterEmail string, limit int) ([]*ProjectMemberUser, error)
253 FindProjectMemberUserRole(ctx context.Context, projectID, userID string) (*ProjectRole, error)
254 FindProjectMemberUser(ctx context.Context, projectID, userID string) (*ProjectMemberUser, error)
255 // FindProjectMemberUsersForUserAndProjects returns a map of project ID to direct project membership for a user.
256 FindProjectMemberUsersForUserAndProjects(ctx context.Context, userID string, projectIDs []string) (map[string]*ProjectMemberUser, error)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected