AccessControl: Implement SQL filters for team members filtering (#44898) (#45219)

* AccessControl: Filter team members

* Modify GetTeamMembersByUser comment

* Fix postgres failing test due to quoting

* Rename GetTeamMembersByUser to GetUserTeamMemberships

* Update TeamStore interface

(cherry picked from commit 78fc0258b1)
This commit is contained in:
Gabriel MABILLE
2022-02-10 15:49:02 +01:00
committed by GitHub
parent 82fc75cacc
commit e6d0f5367f
9 changed files with 251 additions and 34 deletions
+6 -5
View File
@@ -51,11 +51,12 @@ type RemoveTeamMemberCommand struct {
// QUERIES
type GetTeamMembersQuery struct {
OrgId int64
TeamId int64
UserId int64
External bool
Result []*TeamMemberDTO
OrgId int64
TeamId int64
UserId int64
External bool
SignedInUser *SignedInUser
Result []*TeamMemberDTO
}
// ----------------------