允许租户权限访问操作日志
This commit is contained in:
1 parent
e30922a19d
commit
8dc32504e4
1 file changed
+1
-1
@@ -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