diff --git a/backend/src/main/java/io/metersphere/api/controller/ApiModuleController.java b/backend/src/main/java/io/metersphere/api/controller/ApiModuleController.java index 176249a168..e3e7deb4c5 100644 --- a/backend/src/main/java/io/metersphere/api/controller/ApiModuleController.java +++ b/backend/src/main/java/io/metersphere/api/controller/ApiModuleController.java @@ -28,7 +28,7 @@ public class ApiModuleController { @GetMapping("/list/{projectId}/{protocol}") public List getNodeByProjectId(@PathVariable String projectId, @PathVariable String protocol) { - checkPermissionService.checkProjectOwner(projectId); +// checkPermissionService.checkProjectOwner(projectId); String userId = SessionUtils.getUserId(); ApiDefinitionDefaultApiTypeUtil.addUserSelectApiType(userId, protocol); return apiModuleService.getNodeTreeByProjectId(projectId, protocol); @@ -36,7 +36,7 @@ public class ApiModuleController { @GetMapping("/getModuleByName/{projectId}/{protocol}") public ApiModule getModuleByName(@PathVariable String projectId, @PathVariable String protocol) { - checkPermissionService.checkProjectOwner(projectId); +// checkPermissionService.checkProjectOwner(projectId); return apiModuleService.getModuleByName(projectId, protocol); } diff --git a/backend/src/main/java/io/metersphere/api/controller/ApiTestEnvironmentController.java b/backend/src/main/java/io/metersphere/api/controller/ApiTestEnvironmentController.java index c1d9a7284c..72ae0700dc 100644 --- a/backend/src/main/java/io/metersphere/api/controller/ApiTestEnvironmentController.java +++ b/backend/src/main/java/io/metersphere/api/controller/ApiTestEnvironmentController.java @@ -35,7 +35,7 @@ public class ApiTestEnvironmentController { @GetMapping("/list/{projectId}") public List list(@PathVariable String projectId) { - checkPermissionService.checkProjectOwner(projectId); +// checkPermissionService.checkProjectOwner(projectId); return apiTestEnvironmentService.list(projectId); } diff --git a/backend/src/main/java/io/metersphere/performance/controller/PerformanceTestController.java b/backend/src/main/java/io/metersphere/performance/controller/PerformanceTestController.java index be533b4daa..7b957efb7f 100644 --- a/backend/src/main/java/io/metersphere/performance/controller/PerformanceTestController.java +++ b/backend/src/main/java/io/metersphere/performance/controller/PerformanceTestController.java @@ -130,7 +130,7 @@ public class PerformanceTestController { public Pager> getProjectFiles(@PathVariable String projectId, @PathVariable String loadType, @PathVariable int goPage, @PathVariable int pageSize, @RequestBody QueryProjectFileRequest request) { - checkPermissionService.checkProjectOwner(projectId); +// checkPermissionService.checkProjectOwner(projectId); Page page = PageHelper.startPage(goPage, pageSize, true); return PageUtils.setPageInfo(page, performanceTestService.getProjectFiles(projectId, loadType, request)); }