No JSDoc comment in source yet.
API
@Interface()
export abstract class ProjectAccess {
abstract requireProjectAccess(userId: string, projectId: string): void;
abstract requireProjectOwner(userId: string, projectId: string): void;
}Contract Topology
Static AST wiring across @Module / @Provide / @UseMembers (2)
requireProjectAccess
requireProjectAccess(userId: string, projectId: string): voidThrows the host's 404 unless the user can see the Project.
@paramuserId
string@paramprojectId
string@returns
voidrequireProjectOwner
requireProjectOwner(userId: string, projectId: string): voidThrows the host's 403 unless the user owns the Project.
@paramuserId
string@paramprojectId
string@returns
void