From ddb58810bde23fb0e1645bd25ef70fafc514c33d Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 12 Oct 2022 20:03:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86=E6=9F=A5=E7=9C=8B=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1017904 --user=李玉号 【项目管理】文件管理缺少查看按键 https://www.tapd.cn/55049933/s/1259985 --- .../src/main/java/io/metersphere/commons/utils/ShiroUtils.java | 1 + .../frontend/src/business/menu/file/edit/EditFileMetadata.vue | 2 +- .../frontend/src/business/menu/file/list/FileThumbnail.vue | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/ShiroUtils.java b/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/ShiroUtils.java index 9eca8889f2..e38798ce7f 100644 --- a/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/ShiroUtils.java +++ b/framework/sdk-parent/sdk/src/main/java/io/metersphere/commons/utils/ShiroUtils.java @@ -73,6 +73,7 @@ public class ShiroUtils { filterChainDefinitionMap.put("/system/theme", "anon"); filterChainDefinitionMap.put("/system/save/baseurl/**", "anon"); filterChainDefinitionMap.put("/system/timeout", "anon"); + filterChainDefinitionMap.put("/file/metadata/info/**", "anon"); filterChainDefinitionMap.put("/v1/catalog/**", "anon"); filterChainDefinitionMap.put("/v1/agent/**", "anon"); diff --git a/project-management/frontend/src/business/menu/file/edit/EditFileMetadata.vue b/project-management/frontend/src/business/menu/file/edit/EditFileMetadata.vue index 11d099a2a6..d3b6e22378 100644 --- a/project-management/frontend/src/business/menu/file/edit/EditFileMetadata.vue +++ b/project-management/frontend/src/business/menu/file/edit/EditFileMetadata.vue @@ -21,7 +21,7 @@ - +
diff --git a/project-management/frontend/src/business/menu/file/list/FileThumbnail.vue b/project-management/frontend/src/business/menu/file/list/FileThumbnail.vue index 54d83ccf31..2a4678759f 100644 --- a/project-management/frontend/src/business/menu/file/list/FileThumbnail.vue +++ b/project-management/frontend/src/business/menu/file/list/FileThumbnail.vue @@ -4,7 +4,7 @@ - +
{{ getType(item.type) }}