Skip to content

Commit

Permalink
Merge pull request #353 from georchestra/issue-343
Browse files Browse the repository at this point in the history
No need to check CNIL level when CSV exporting a list of parcelles (#…
  • Loading branch information
landryb authored Sep 15, 2017
2 parents 3e8bf23 + cfed9ae commit 3b768c2
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 3b768c2

Please sign in to comment.