fix(工作台): 修复获取有权限的项目报错问题
--bug=1050554 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001050554
This commit is contained in:
parent
1619f01882
commit
89e7c943f7
|
@ -77,7 +77,7 @@ public class DashboardProjectService {
|
||||||
}
|
}
|
||||||
//检查是否开启测试计划模块
|
//检查是否开启测试计划模块
|
||||||
Set<String> planProjectIds = hasUserPermissionProjectIds.get(PermissionConstants.TEST_PLAN_READ);
|
Set<String> planProjectIds = hasUserPermissionProjectIds.get(PermissionConstants.TEST_PLAN_READ);
|
||||||
if (CollectionUtils.isNotEmpty(scenarioProjectIds)) {
|
if (CollectionUtils.isNotEmpty(planProjectIds)) {
|
||||||
searchPlanProjectIds = planProjectIds.stream().filter(t -> finalModuleMap.get(t).contains(TEST_PLAN)).collect(Collectors.toSet());
|
searchPlanProjectIds = planProjectIds.stream().filter(t -> finalModuleMap.get(t).contains(TEST_PLAN)).collect(Collectors.toSet());
|
||||||
}
|
}
|
||||||
//检查是否开启缺陷模块
|
//检查是否开启缺陷模块
|
||||||
|
|
Loading…
Reference in New Issue