From 7e3111385b100a3f4aeaaeac3d80953283b8a642 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Mon, 8 Jul 2024 20:40:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E7=99=BB=E9=99=86=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sdk/util/FilterChainUtils.java | 1 + .../mapper/ExtFunctionalCaseMapper.xml | 2 +- frontend/src/api/modules/setting/config.ts | 6 ++ frontend/src/api/requrls/setting/config.ts | 2 + frontend/src/locale/en-US/common.ts | 1 + frontend/src/locale/zh-CN/common.ts | 1 + frontend/src/models/setting/config.ts | 2 +- .../src/views/base/login-redirect/index.vue | 2 +- .../src/views/login/components/login-form.vue | 72 +++++++++++++------ .../system/config/components/authConfig.vue | 6 +- 10 files changed, 69 insertions(+), 26 deletions(-) diff --git a/backend/framework/sdk/src/main/java/io/metersphere/sdk/util/FilterChainUtils.java b/backend/framework/sdk/src/main/java/io/metersphere/sdk/util/FilterChainUtils.java index 66c8f2426e..5a1427e7b9 100644 --- a/backend/framework/sdk/src/main/java/io/metersphere/sdk/util/FilterChainUtils.java +++ b/backend/framework/sdk/src/main/java/io/metersphere/sdk/util/FilterChainUtils.java @@ -11,6 +11,7 @@ public class FilterChainUtils { filterChainDefinitionMap.put("/login", "anon"); filterChainDefinitionMap.put("/ldap/login", "anon"); filterChainDefinitionMap.put("/authentication/get-list", "anon"); + filterChainDefinitionMap.put("/authentication//get/by/type/**", "anon"); filterChainDefinitionMap.put("/we_com/info", "anon"); filterChainDefinitionMap.put("/ding_talk/info", "anon"); filterChainDefinitionMap.put("/lark/info", "anon"); diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml index e4d38fd2f7..a841a5fed6 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/mapper/ExtFunctionalCaseMapper.xml @@ -837,7 +837,7 @@