1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 23:59:47 +02:00

add/remove group membership

This commit is contained in:
sauls8t 2018-03-01 19:14:27 +00:00
parent 0b5ed8fd9e
commit ed11c0ad11
17 changed files with 287 additions and 87 deletions

View file

@ -31,3 +31,13 @@ type Member struct {
Firstname string `json:"firstname"` //read-only info
Lastname string `json:"lastname"` //read-only info
}
// Record details user membership of a user group.
type Record struct {
ID uint64 `json:"id"`
OrgID string `json:"orgId"`
RoleID string `json:"roleId"`
UserID string `json:"userId"`
Name string `json:"name"`
Purpose string `json:"purpose"`
}