From cee01f2a0cf9237bc8c5aae0e9694f59c594c809 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 19 Jun 2023 10:07:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E4=BA=AB=E6=8A=A5=E5=91=8A=E6=89=93?= =?UTF-8?q?=E5=BC=80=E5=A4=B1=E8=B4=A5=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027158 --user=王孝刚 【接口测试】报告-接口用例-集合报告-分享-打开失败 https://www.tapd.cn/55049933/s/1382976 --- .../controller/scenario/ApiScenarioReportController.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java b/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java index 00a1f9475c..eedb342f26 100644 --- a/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java +++ b/api-test/backend/src/main/java/io/metersphere/controller/scenario/ApiScenarioReportController.java @@ -37,20 +37,17 @@ public class ApiScenarioReportController { private ShareInfoService shareInfoService; @GetMapping("/get/{reportId}") - @RequiresPermissions(PermissionConstants.PROJECT_API_REPORT_READ) public ApiScenarioReportResult get(@PathVariable String reportId) { return apiReportService.get(reportId, false); } @GetMapping("/get/{shareId}/{reportId}") - @RequiresPermissions(PermissionConstants.PROJECT_API_REPORT_READ) public ApiScenarioReportResult get(@PathVariable String shareId, @PathVariable String reportId) { shareInfoService.validateExpired(shareId); return apiReportService.get(reportId, false); } @GetMapping("/get/detail/{reportId}") - @RequiresPermissions(PermissionConstants.PROJECT_API_REPORT_READ) public ApiScenarioReportResult getAll(@PathVariable String reportId) { return apiReportService.get(reportId, true); }