From c95a5c047ce159721d16002e602df9555fc17b35 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Thu, 22 Feb 2024 10:03:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=94=A8=E4=BE=8B=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D=E7=94=A8=E4=BE=8B=E8=AF=84?= =?UTF-8?q?=E5=AE=A1=E8=AF=A6=E6=83=85=E9=A1=B5=E6=9D=83=E9=99=90=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1035964 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001035964 --- .../controller/CaseReviewFunctionalCaseController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/services/case-management/src/main/java/io/metersphere/functional/controller/CaseReviewFunctionalCaseController.java b/backend/services/case-management/src/main/java/io/metersphere/functional/controller/CaseReviewFunctionalCaseController.java index 9b7ec7dd70..9df02c207f 100644 --- a/backend/services/case-management/src/main/java/io/metersphere/functional/controller/CaseReviewFunctionalCaseController.java +++ b/backend/services/case-management/src/main/java/io/metersphere/functional/controller/CaseReviewFunctionalCaseController.java @@ -52,6 +52,7 @@ public class CaseReviewFunctionalCaseController { @PostMapping("/page") @Operation(summary = "用例管理-用例评审-评审列表-评审详情-已关联用例列表") + @RequiresPermissions(PermissionConstants.CASE_REVIEW_READ) public Pager> page(@Validated @RequestBody ReviewFunctionalCasePageRequest request) { String userId = StringUtils.EMPTY; if (request.isViewFlag()) { @@ -78,7 +79,7 @@ public class CaseReviewFunctionalCaseController { @PostMapping("/module/count") @Operation(summary = "用例管理-用例评审-评审列表-评审详情-已关联用例统计模块数量") - @RequiresPermissions(PermissionConstants.FUNCTIONAL_CASE_READ) + @RequiresPermissions(PermissionConstants.CASE_REVIEW_READ) @CheckOwner(resourceId = "#request.getProjectId()", resourceType = "project") public Map moduleCount(@Validated @RequestBody ReviewFunctionalCasePageRequest request) { String userId = StringUtils.EMPTY;