From 8dc32504e49446c96670671e03201b07f843a24e Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Wed, 26 Jun 2024 14:23:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=81=E8=AE=B8=E7=A7=9F=E6=88=B7=E6=9D=83?= =?UTF-8?q?=E9=99=90=E8=AE=BF=E9=97=AE=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/system/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/system/system.go b/src/modules/system/system.go index 18f18ad1..41bf8ea4 100644 --- a/src/modules/system/system.go +++ b/src/modules/system/system.go @@ -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",