refactor(测试计划): 调整测试规划脑图获取接口权限

This commit is contained in:
guoyuqi 2024-06-07 19:03:24 +08:00 committed by Craftsman
parent 8ae4c91500
commit 1b36bd940f
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public class TestPlanCollectionMinderController {
@GetMapping("/data/{planId}")
@Operation(summary = "测试规划脑图列表")
@RequiresPermissions(PermissionConstants.TEST_PLAN_READ_UPDATE)
@RequiresPermissions(PermissionConstants.TEST_PLAN_READ)
@CheckOwner(resourceId = "#planId", resourceType = "test_plan")
public List<TestPlanCollectionMinderTreeDTO> getMindTestPlanCase(@PathVariable String planId) {
return testPlanCollectionMinderService.getMindTestPlanCase(planId);