getRoleMembersStream only returns users with the role assigned
directly, so exported attributes silently excluded users who have
matchRole via group membership. Filter all realm users with
hasRole() instead, matching the resolution already used for authRole.
Closes#20
Reviewed-on: #25
Adds an endpoint that returns the list of attribute values as a map of attribute names in the requested attribute group.
This is useful for requesting the mailing list addresses, where the individual attributes apply to different mailing lists.
getRoleMembersStream only returns users with the role assigned
directly, so exported attributes silently excluded users who have
matchRole via group membership. Filter all realm users with
hasRole() instead, matching the resolution already used for authRole.
For the configAttributeSlug the further validation fails ugly otherwise
and there's generally no need to do further validation, if a config
string is null.