chore: 去掉部分限制
This commit is contained in:
parent
fbe9fbab2a
commit
f8757ebd7d
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue