changeset 588:7e9336df0aeb

Removed netzbetreiber from authorization.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 24 Mar 2015 11:48:23 +0100
parents 54a95a587093
children d94f9d97b69a
files src/main/java/de/intevation/lada/util/auth/OpenIdAuthorization.java
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)