Add User's IsForbidden.

This commit is contained in:
Yang Luo
2021-05-02 12:18:28 +08:00
parent 79f1c62ff7
commit 82f4f542ed
8 changed files with 35 additions and 4 deletions

View File

@ -40,6 +40,7 @@ type User struct {
Tag string `xorm:"varchar(100)" json:"tag"`
IsAdmin bool `json:"isAdmin"`
IsGlobalAdmin bool `json:"isGlobalAdmin"`
IsForbidden bool `json:"isForbidden"`
Github string `xorm:"varchar(100)" json:"github"`
Google string `xorm:"varchar(100)" json:"google"`