Skip to content

Commit

Permalink
No need to check CNIL level when CSV exporting a list of parcelles (#343
Browse files Browse the repository at this point in the history
)
  • Loading branch information
landryb committed Sep 14, 2017
1 parent 3e8bf23 commit cfed9ae
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,6 @@ public Response exportParcellesAsSCV(
// Create empty content
ResponseBuilder response = Response.noContent();

// User need to be at least CNIL1 level
if (getUserCNILLevel(headers)>0){

String entete = "Identifiant de parcelle;Commune;dnvoiri;dindic;cconvo;dvoilib;ccopre;ccosec;N° de plan;Contenance DGFiP en m²";

String[] parcelleArray = StringUtils.split(parcelles, ',');
Expand Down Expand Up @@ -598,9 +595,6 @@ public Response exportParcellesAsSCV(
//log empty request
logger.info("Parcelle Id List is empty nothing to search");
}
}else{
logger.info("User does not have rights to see thoses informations");
}

return response.build();
}
Expand Down

0 comments on commit cfed9ae

Please sign in to comment.