mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 12:39:12 +08:00
fix(测试跟踪): 没有性能测试权限,编辑功能用例会报错
--bug=1028130 --user=陈建星 【测试跟踪】github#25831,权限问题-功能用例查看需要性能测试查看权限不然报错 https://www.tapd.cn/55049933/s/1397492
This commit is contained in:
parent
01d4e60463
commit
7c3e5b7d02
@ -345,7 +345,7 @@ public class PerformanceTestController {
|
||||
}
|
||||
|
||||
@PostMapping("/getLoadCaseByIds")
|
||||
@RequiresPermissions(PermissionConstants.PROJECT_PERFORMANCE_TEST_READ)
|
||||
@RequiresPermissions(value = {PermissionConstants.PROJECT_PERFORMANCE_TEST_READ, PermissionConstants.PROJECT_TRACK_CASE_READ}, logical = Logical.OR)
|
||||
public List<LoadTest> getLoadCaseByIds(@RequestBody List<String> ids) {
|
||||
return performanceTestService.getLoadCaseByIds(ids);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user