mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-19 15:15:40 +08:00
[系统用户]实现系统用户的增删改
This commit is contained in:
8
pkg/systemconfigs/admin_module.go
Normal file
8
pkg/systemconfigs/admin_module.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package systemconfigs
|
||||
|
||||
// 用户模块权限
|
||||
type AdminModule struct {
|
||||
Code string `json:"code"` // 模块代号
|
||||
AllowAll bool `json:"allowAll"` // 允许所有的动作
|
||||
Actions []string `json:"actions"` // 只允许的动作
|
||||
}
|
||||
Reference in New Issue
Block a user