ManagementOperation<FunctionContext> mo = new ModifyRoleAssignmentOp(dispatcher, assignment, ADD);
mo.execute(new FunctionOutcome("Role Assignment", ADD));
}
public void saveRoleAssignment(final RoleAssignment assignment, final RoleAssignment oldValue) {
ManagementOperation<FunctionContext> mo = new ModifyRoleAssignmentOp(dispatcher, assignment, oldValue, MODIFY);
mo.execute(new FunctionOutcome("Role Assignment", MODIFY));
}