fix: return authorizations on userinfo (#420)

This commit is contained in:
Livio Amstutz
2020-07-09 14:05:12 +02:00
committed by GitHub
parent 7cf13a646d
commit 8efa697af2
10 changed files with 54 additions and 7 deletions

View File

@@ -10,4 +10,5 @@ type UserGrantRepository interface {
SearchMyProjectOrgs(ctx context.Context, request *model.UserGrantSearchRequest) (*model.ProjectOrgSearchResponse, error)
SearchMyZitadelPermissions(ctx context.Context) ([]string, error)
SearchMyProjectPermissions(ctx context.Context) ([]string, error)
UserGrantsByProjectAndUserID(projectID, userID string) ([]*model.UserGrantView, error)
}