for (ModelNode node : roleMappings) {
addManagementModelRoleAssignment(principals, assignments, roles, node.asProperty());
}
// All entities are read - now transform the role assignements from the management model to
// role assignments used in the UI and update the view
assignments.transform(principals);
control.getContext().put(Results.PRINCIPALS, principals);
control.getContext().put(Results.ASSIGNMENTS, assignments);
control.getContext().put(Results.ROLES, roles);
control.proceed();