types: add Admin field to User
This commit is contained in:
parent
041e8867f8
commit
a269347c9d
|
@ -71,6 +71,9 @@ type User struct {
|
||||||
Password string `json:"password,omitempty"`
|
Password string `json:"password,omitempty"`
|
||||||
|
|
||||||
Tokens map[string]string `json:"tokens,omitempty"`
|
Tokens map[string]string `json:"tokens,omitempty"`
|
||||||
|
|
||||||
|
// Admin defines if the user is a global admin
|
||||||
|
Admin bool `json:"admin,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Organization struct {
|
type Organization struct {
|
||||||
|
|
Loading…
Reference in New Issue