From cfed9ae926c833c233ab9ff6afa6c2daf840f3a3 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Thu, 14 Sep 2017 15:01:58 +0200 Subject: [PATCH] No need to check CNIL level when CSV exporting a list of parcelles (#343) --- .../georchestra/cadastrapp/service/ParcelleController.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cadastrapp/src/main/java/org/georchestra/cadastrapp/service/ParcelleController.java b/cadastrapp/src/main/java/org/georchestra/cadastrapp/service/ParcelleController.java index 1d1f3fac..91a0fbca 100644 --- a/cadastrapp/src/main/java/org/georchestra/cadastrapp/service/ParcelleController.java +++ b/cadastrapp/src/main/java/org/georchestra/cadastrapp/service/ParcelleController.java @@ -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, ','); @@ -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(); }