Skip to content

Commit

Permalink
MID-6306 Fix assignable roles filter when multiple users are selected
Browse files Browse the repository at this point in the history
  • Loading branch information
wadahiro authored and KaterynaHonchar committed Jun 10, 2020
1 parent 808391c commit af520e6
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -460,9 +460,7 @@ private SearchPanel getSearchPanel(){
}

private ObjectFilter getAssignableRolesFilter() {
if (getRoleCatalogStorage().isMultiUserRequest()){
return null;
}
// When multiple users are selected, filter the roles by targeting one of them
Task task = getPageBase().createSimpleTask(OPERATION_LOAD_ASSIGNABLE_ROLES);
OperationResult result = task.getResult();
UserType targetUser = targetUserModel.getObject();
Expand Down

0 comments on commit af520e6

Please sign in to comment.