if (programFound != null) {
program = new ProgramDTO(programFound, DTOPath.PROGRAM_BOARD);
}
} else if (hasSpecificRights) {
// Uzer has already somes PROGRAM_NAME lists
UzerDTO user = (UzerDTO) getSession().getAttribute("user");
if (user != null) {
for (ProgramDTO dto : user.getProgramsWithConsultationRights()) {
if (dto.getId().equals(programId)) {
// convert from PROGRAM_NAME to PROGRAM_BOARD
Program programFound = programDAO.find(programId);
program = new ProgramDTO(programFound, DTOPath.PROGRAM_BOARD);