Add groups to role

This commit is contained in:
Yang Luo
2023-09-24 10:17:18 +08:00
parent 4cc9137637
commit f9cc6ed064
3 changed files with 43 additions and 2 deletions

View File

@ -32,6 +32,7 @@ type Role struct {
Description string `xorm:"varchar(100)" json:"description"`
Users []string `xorm:"mediumtext" json:"users"`
Groups []string `xorm:"mediumtext" json:"groups"`
Roles []string `xorm:"mediumtext" json:"roles"`
Domains []string `xorm:"mediumtext" json:"domains"`
IsEnabled bool `json:"isEnabled"`