Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit b8bf5ca6 authored by Jean Claude Correale's avatar Jean Claude Correale
Browse files

Filter enabled ida to role mappings

parent 0ba04b63
No related branches found
No related tags found
2 merge requests!106Release,!101Filter enabled ida to role mappings
Pipeline #219357 failed
......@@ -146,6 +146,7 @@ public class RoleServiceImpl implements RoleService {
return roleRepository.findByNameIn(rolesName).stream()
.map(Role::getAssignedIdentityAttributes)
.flatMap(Collection::stream)
.filter(IdentityAttributeRoles::getEnabled)
.map(IdentityAttributeRoles::getIdaCode)
.distinct()
.toList();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment