if (roles!=null){
logger.debug( "getSbiFuncRoles() size="+roles.size() );
Iterator iterRoles = roles.iterator();
while(iterRoles.hasNext()) {
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)) {