feat(backend/models): add CanCreate attribute to user model
This commit is contained in:
parent
436f164ab9
commit
7062cb630e
@ -8,8 +8,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
IsAdmin bool `json:"isAdmin"`
|
IsAdmin bool `json:"isAdmin"`
|
||||||
|
CanCreate bool `json:"canCreate"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type MIME struct {
|
type MIME struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user