fix(测试跟踪): 有测试计划查看权限,无法查看测试计划
--bug=1034086 --user=陈建星 【权限管理】有查询和执行测试计划的权限,无法查询和执行计划 https://www.tapd.cn/55049933/s/1628413
This commit is contained in:
parent
8af418072d
commit
6ea4f77cb1
|
@ -28,7 +28,7 @@ public class TestPlanNodeController {
|
|||
private BaseCheckPermissionService baseCheckPermissionService;
|
||||
|
||||
@PostMapping("/list/{projectId}")
|
||||
@RequiresPermissions(value = {PermissionConstants.PROJECT_TRACK_CASE_READ})
|
||||
@RequiresPermissions(PermissionConstants.PROJECT_TRACK_PLAN_READ)
|
||||
public List<TestPlanNodeDTO> getNodeByCondition(@PathVariable String projectId, @RequestBody(required = false) QueryTestPlanRequest request) {
|
||||
// 高级搜索所属模块搜索时, 切换项目时需替换projectId为参数中切换项目
|
||||
if (request != null && request.getProjectId() != null) {
|
||||
|
|
Loading…
Reference in New Issue