[Lada-commits] [PATCH] Fixed namespace for stammdaten ort in authorization
Wald Commits
scm-commit at wald.intevation.org
Thu Nov 3 14:41:32 CET 2016
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1478180473 -3600
# Node ID 7730d9cfc22ea2981ecfeb497b8a63608cdba4d2
# Parent d56706c33269f11ec92c34fa56d1ab0a8b5b0a04
Fixed namespace for stammdaten ort in authorization.
diff -r d56706c33269 -r 7730d9cfc22e src/main/java/de/intevation/lada/util/auth/NetzbetreiberAuthorizer.java
--- 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)
);
}
More information about the Lada-commits
mailing list