|
|
@ -497,11 +497,12 @@ public class AccessServiceImpl implements AccessService { |
|
|
|
|
|
|
|
Set<String> filtedOps = new HashSet<>(); |
|
|
|
|
|
|
|
roleIdList.forEach(roleId -> { |
|
|
|
List<RoleOpeScopeResultDTO> opeAndScopeDTO = listAllRoleOperationScopesByRoleId(roleId); |
|
|
|
filtedOps.addAll(filterOpesByScope(currOrgRelation, opeAndScopeDTO)); |
|
|
|
}); |
|
|
|
|
|
|
|
if (!CollectionUtils.isEmpty(roleIdList)) { |
|
|
|
roleIdList.forEach(roleId -> { |
|
|
|
List<RoleOpeScopeResultDTO> opeAndScopeDTO = listAllRoleOperationScopesByRoleId(roleId); |
|
|
|
filtedOps.addAll(filterOpesByScope(currOrgRelation, opeAndScopeDTO)); |
|
|
|
}); |
|
|
|
} |
|
|
|
return filtedOps; |
|
|
|
} |
|
|
|
|
|
|
|