mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
add/remove group membership
This commit is contained in:
parent
0b5ed8fd9e
commit
ed11c0ad11
17 changed files with 287 additions and 87 deletions
|
@ -16,6 +16,7 @@ import (
|
|||
|
||||
"github.com/documize/community/model"
|
||||
"github.com/documize/community/model/account"
|
||||
"github.com/documize/community/model/group"
|
||||
)
|
||||
|
||||
// User defines a login.
|
||||
|
@ -34,6 +35,7 @@ type User struct {
|
|||
Salt string `json:"-"`
|
||||
Reset string `json:"-"`
|
||||
Accounts []account.Account `json:"accounts"`
|
||||
Groups []group.Record `json:"groups"`
|
||||
}
|
||||
|
||||
// ProtectSecrets blanks sensitive data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue