Affects Version/s: None
Fix Version/s: 0.9.3
KULRICE-12789 Roles memberships are not checking qualification KULRICE-2353 KIM Role Service Test KULRICE-4405 Adding check to role qualifiers in ResponsibilityService KULRICE-3989 UIDocumentService.loadRoleMemberQualifiers - is there a way to load qualifiers not associated with the role type KULRICE-9892 Enhance PeopleFlowTypeService and PeopleFlowRequestGeneratorImpl to allow resolving/accepting multiple maps of role qualifiers KULRICE-6565 Fix qualifiers on role for Person and Role Documents KULRICE-4178 Some role qualifiers displaying incorrectly KULRICE-7082 KIM role document not handling missing qualifiers on role members KULRICE-2089 Role qualification deletions are not persisting KULRICE-1489 KIM needs to support role qualifier validation
The following method is in the RoleService:
public List<PersonQualifiedRole> getPersonQualifiedRoles(String roleName, Map<String, String> qualifiedRoleAttributes);
The problem is that the PersonQualfiedRole only stores one attribute <name,value> pair. This is a problem when there is more than one qualification. For example, consider the following call to the above method:
Map<String, String> qualfiedRoleAttributes = new HashMap<String, String>();
List<PersonQualifiedRole> getPersonQualfiedRoles("KillDisney", qualifiedRoleAttributes);
For each person that has this qualified role, two PersonQualifiedRole instances will be returned, one for each <name, value> pair. The caller will have to correlate the Person and Role to determine which two go together.
It would be better if the returned instance contains a list of the <name, value> pair qualifications.