changeset 952:f4ee8cec24f2

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 25 May 2016 15:07:12 +0200
parents b09a1da741c4 (diff) 0929503c2c79 (current diff)
children df78f385aadd
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java	Tue May 24 15:06:14 2016 +0200
+++ b/src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java	Wed May 25 15:07:12 2016 +0200
@@ -40,7 +40,8 @@
         return (method == RequestMethod.POST ||
             method == RequestMethod.PUT ||
             method == RequestMethod.DELETE) &&
-            userInfo.getFunktionenForNetzbetreiber(id).contains(4);
+            (userInfo.getFunktionenForNetzbetreiber(id).contains(4) ||
+             clazz.getName().equals("de.intevation.lada.model.stamm.Ort"));
     }
 
     @Override
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)