1
0
Fork 0
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:
sauls8t 2018-03-01 19:14:27 +00:00
parent 0b5ed8fd9e
commit ed11c0ad11
17 changed files with 287 additions and 87 deletions

View file

@ -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.