允许租户权限访问操作日志
This commit is contained in:
@@ -424,7 +424,7 @@ func Setup(router *gin.Engine) {
|
||||
sysLogOperGroup := router.Group("/system/log/operate")
|
||||
{
|
||||
sysLogOperGroup.GET("/list",
|
||||
middleware.PreAuthorize(map[string][]string{"hasPerms": {"system:log:operate:list"}}),
|
||||
middleware.PreAuthorize(map[string][]string{"hasPerms": {"system:log:operate:list", "tenant:operate:list"}}),
|
||||
controller.NewSysLogOperate.List,
|
||||
)
|
||||
sysLogOperGroup.DELETE("/:operIds",
|
||||
|
||||
Reference in New Issue
Block a user