teams: can update team members permission.

This commit is contained in:
Leonard Gram
2019-03-06 15:37:37 +01:00
parent 7888457aae
commit 2a88052c14
5 changed files with 74 additions and 0 deletions

View File

@@ -34,6 +34,13 @@ type AddTeamMemberCommand struct {
Permission int64 `json:"-"`
}
type UpdateTeamMemberCommand struct {
UserId int64 `json:"-"`
OrgId int64 `json:"-"`
TeamId int64 `json:"-"`
Permission int64 `json:"permission"`
}
type RemoveTeamMemberCommand struct {
OrgId int64 `json:"-"`
UserId int64