From 6ea4f77cb1465e2efdfbc6a5497807d3cabb94ce Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Wed, 11 Dec 2024 10:42:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=9C=89=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E6=9D=83=E9=99=90=EF=BC=8C=E6=97=A0=E6=B3=95=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1034086 --user=陈建星 【权限管理】有查询和执行测试计划的权限,无法查询和执行计划 https://www.tapd.cn/55049933/s/1628413 --- .../java/io/metersphere/controller/TestPlanNodeController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/controller/TestPlanNodeController.java b/test-track/backend/src/main/java/io/metersphere/controller/TestPlanNodeController.java index 49e6c09095..3d55584c12 100644 --- a/test-track/backend/src/main/java/io/metersphere/controller/TestPlanNodeController.java +++ b/test-track/backend/src/main/java/io/metersphere/controller/TestPlanNodeController.java @@ -28,7 +28,7 @@ public class TestPlanNodeController { private BaseCheckPermissionService baseCheckPermissionService; @PostMapping("/list/{projectId}") - @RequiresPermissions(value = {PermissionConstants.PROJECT_TRACK_CASE_READ}) + @RequiresPermissions(PermissionConstants.PROJECT_TRACK_PLAN_READ) public List getNodeByCondition(@PathVariable String projectId, @RequestBody(required = false) QueryTestPlanRequest request) { // 高级搜索所属模块搜索时, 切换项目时需替换projectId为参数中切换项目 if (request != null && request.getProjectId() != null) {