[Lada-commits] [PATCH 2 of 2] Removed netzbetreiber from authorization
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 24 11:47:30 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1427194103 -3600
# Node ID 7e9336df0aeb93cf75933724f5b01a61f1f9ac77
# Parent 54a95a587093ea92fa693e554c8e8901e6246d16
Removed netzbetreiber from authorization.
diff -r 54a95a587093 -r 7e9336df0aeb src/main/java/de/intevation/lada/util/auth/OpenIdAuthorization.java
--- a/src/main/java/de/intevation/lada/util/auth/OpenIdAuthorization.java Tue Mar 24 11:47:44 2015 +0100
+++ b/src/main/java/de/intevation/lada/util/auth/OpenIdAuthorization.java Tue Mar 24 11:48:23 2015 +0100
@@ -142,9 +142,7 @@
}
private boolean getAuthorization(UserInfo userInfo, LProbe probe) {
- if (userInfo.getMessstellen().contains(probe.getMstId()) &&
- userInfo.getNetzbetreiber().contains(probe.getNetzbetreiberId())
- ) {
+ if (userInfo.getMessstellen().contains(probe.getMstId())) {
return true;
}
else {
More information about the Lada-commits
mailing list