mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
list group members & non-members
This commit is contained in:
parent
19b4a3de49
commit
0680a72ee2
15 changed files with 360 additions and 60 deletions
|
@ -19,12 +19,15 @@ type Group struct {
|
|||
OrgID string `json:"orgId"`
|
||||
Name string `json:"name"`
|
||||
Purpose string `json:"purpose"`
|
||||
Members int `json:"members"`
|
||||
Members int `json:"members"` // read-only info
|
||||
}
|
||||
|
||||
// Member defines user membership of a user group.
|
||||
type Member struct {
|
||||
OrgID string `json:"orgId"`
|
||||
RoleID string `json:"roleId"`
|
||||
UserID string `json:"userId"`
|
||||
ID uint64 `json:"id"`
|
||||
OrgID string `json:"orgId"`
|
||||
RoleID string `json:"roleId"`
|
||||
UserID string `json:"userId"`
|
||||
Firstname string `json:"firstname"` //read-only info
|
||||
Lastname string `json:"lastname"` //read-only info
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue