SbiFuncRole hibfuncrole = (SbiFuncRole)iterRoles.next();
SbiExtRoles hibRole = hibfuncrole.getId().getRole();
SbiDomains hibPermission = hibfuncrole.getId().getState();
logger.debug( "hibfuncrole.getId().getRole().getName()="+hibRole.getName() );
RoleDAOHibImpl roleDAO = new RoleDAOHibImpl();
Role role = roleDAO.toRole(hibRole);
String state = hibPermission.getValueCd();
if(state.equals(SpagoBIConstants.PERMISSION_ON_FOLDER_TO_DEVELOP)) {
devRolesList.add(role);
} else if(state.equals(SpagoBIConstants.PERMISSION_ON_FOLDER_TO_TEST)) {