fix(接口测试): 修复场景创建性能测试403的缺陷

--bug=1027269 --user=王孝刚 【接口测试】接口自动化转性能失败,403
https://www.tapd.cn/55049933/s/1384663
This commit is contained in:
wxg0103 2023-06-21 11:08:03 +08:00 committed by fit2-zhao
parent f4b5b40df2
commit 027838c9e5
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ public class ApiAutomationController {
}
@PostMapping(value = "/export/jmx")
@RequiresPermissions(PermissionConstants.PROJECT_API_SCENARIO_READ_EXPORT_SCENARIO)
@RequiresPermissions(value = {PermissionConstants.PROJECT_API_SCENARIO_READ_EXPORT_SCENARIO, PermissionConstants.PROJECT_API_SCENARIO_READ_CREATE_PERFORMANCE , PermissionConstants.PROJECT_API_SCENARIO_READ_CREATE_PERFORMANCE_BATCH}, logical = Logical.OR)
@MsAuditLog(module = OperLogModule.API_AUTOMATION, type = OperLogConstants.EXPORT, sourceId = "#request.id", title = "#request.name", project = "#request.projectId")
public List<ApiScenarioExportJmxDTO> exportJmx(@RequestBody ApiScenarioBatchRequest request) {
return apiAutomationService.exportJmx(request);