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:
parent
0b5ed8fd9e
commit
ed11c0ad11
17 changed files with 287 additions and 87 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue