fix: list granted project roles (#1537)

This commit is contained in:
Fabi
2021-04-07 11:40:31 +02:00
committed by GitHub
parent f0cc12238e
commit 4d19652cd9
6 changed files with 98 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ type ProjectRepository interface {
ProjectGrantByID(ctx context.Context, grantID string) (*model.ProjectGrantView, error)
SearchProjectGrantMembers(ctx context.Context, request *model.ProjectGrantMemberSearchRequest) (*model.ProjectGrantMemberSearchResponse, error)
SearchProjectGrantRoles(ctx context.Context, projectID, grantID string, request *model.ProjectRoleSearchRequest) (*model.ProjectRoleSearchResponse, error)
ProjectGrantMemberByID(ctx context.Context, projectID, userID string) (*model.ProjectGrantMemberView, error)
GetProjectGrantMemberRoles() []string