changeset 1142:7730d9cfc22e

Fixed namespace for stammdaten ort in authorization.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 03 Nov 2016 14:41:13 +0100
parents d56706c33269
children b49c1fb84040
files src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java	Tue Nov 01 18:08:59 2016 +0100
+++ b/src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java	Thu Nov 03 14:41:13 2016 +0100
@@ -44,7 +44,7 @@
             userInfo.getFunktionenForNetzbetreiber(id).contains(4)
             // XXX: this currently allows any user, regardless of function,
             // to manipulate and delete any ort of his own netzbetreiber!
-            || clazz.getName().equals("de.intevation.lada.model.stamm.Ort")
+            || clazz.getName().equals("de.intevation.lada.model.stammdaten.Ort")
             && userInfo.getNetzbetreiber().contains(id)
         );
     }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)