权限管理优化
This commit is contained in:
@@ -185,6 +185,10 @@ func (that *MakeCode) Db2JSON(db *db.HoTimeDB, config Map) {
|
||||
{"type": "search", "name": "sort", "label": "排序", "value": nil},
|
||||
},
|
||||
}
|
||||
|
||||
if v.GetString("name") == "logs" {
|
||||
that.TableConfig.GetMap(v.GetString("name"))["auth"] = []string{"show", "download"}
|
||||
}
|
||||
}
|
||||
|
||||
//初始化
|
||||
|
||||
Reference in New Issue
Block a user