chore: 去掉部分限制

This commit is contained in:
CaptainB 2023-12-14 11:55:49 +08:00
parent fbe9fbab2a
commit f8757ebd7d
1 changed files with 0 additions and 1 deletions

View File

@ -197,7 +197,6 @@ public class ApiScenarioController {
@GetMapping("/scenario-details/{id}") @GetMapping("/scenario-details/{id}")
@RequiresPermissions(value ={PermissionConstants.PROJECT_API_SCENARIO_READ, PermissionConstants.PROJECT_API_DEFINITION_READ_EDIT_CASE}, logical = Logical.OR) @RequiresPermissions(value ={PermissionConstants.PROJECT_API_SCENARIO_READ, PermissionConstants.PROJECT_API_DEFINITION_READ_EDIT_CASE}, logical = Logical.OR)
@CheckOwner(resourceId = "#id", resourceType = "api_scenario")
public ApiScenarioDTO getScenarioDefinition(@PathVariable String id) { public ApiScenarioDTO getScenarioDefinition(@PathVariable String id) {
return apiAutomationService.getNewApiScenario(id); return apiAutomationService.getNewApiScenario(id);
} }