[Lada-commits] [PATCH] Added 'funktionen' as attribute to user service response

Wald Commits scm-commit at wald.intevation.org
Fri Feb 19 14:00:21 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1455886817 -3600
# Node ID dec1e63a2ffe347d3f70caa88632a14822553f1d
# Parent  c160d6c895d2a1045e5101695eb61b42ce24e16c
Added 'funktionen' as attribute to user service response.

diff -r c160d6c895d2 -r dec1e63a2ffe src/main/java/de/intevation/lada/rest/UserService.java
--- a/src/main/java/de/intevation/lada/rest/UserService.java	Thu Feb 18 11:50:20 2016 +0100
+++ b/src/main/java/de/intevation/lada/rest/UserService.java	Fri Feb 19 14:00:17 2016 +0100
@@ -97,6 +97,7 @@
         UserInfo userInfo = authorization.getInfo(request);
         response.put("mst", userInfo.getMessstellen());
         response.put("netzbetreiber", userInfo.getNetzbetreiber());
+        response.put("funktionen", userInfo.getFunktionen());
         return new Response(true, 200, response);
     }
 }


More information about the Lada-commits mailing list