changeset 864:cbf6a15115dc

Allow users with funktion 1 to edit status if statuswert = 4.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 04 Feb 2016 17:29:32 +0100
parents e701e2df6516
children 186d30e5b44a
files src/main/java/de/intevation/lada/util/auth/MessungAuthorizer.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/util/auth/MessungAuthorizer.java	Thu Feb 04 15:25:13 2016 +0100
+++ b/src/main/java/de/intevation/lada/util/auth/MessungAuthorizer.java	Thu Feb 04 17:29:32 2016 +0100
@@ -119,7 +119,7 @@
         }
         else if (userInfo.getFunktionen().contains(1) &&
             userInfo.getMessstellen().contains(probe.getMstId()) &&
-            status.getStatusStufe() <= 1
+            (status.getStatusStufe() <= 1 || status.getStatusWert() == 4)
         ) {
             statusEdit = true;
         }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)