changeset 412:f4b14240ffa3

Also add the account information when listing users artifacts/trunk@5249 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Thu, 23 Aug 2012 14:03:16 +0000
parents 20f12944c710
children f5ecca16f601
files ChangeLog artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Aug 23 13:52:52 2012 +0000
+++ b/ChangeLog	Thu Aug 23 14:03:16 2012 +0000
@@ -1,3 +1,8 @@
+2012-08-23	Björn Ricks	<bjoern.ricks@intevation.de>
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
+	  Also add the account information when listing users.
+
 2012-08-23	Björn Ricks	<bjoern.ricks@intevation.de>
 
 	* artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Thu Aug 23 13:52:52 2012 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java	Thu Aug 23 14:03:16 2012 +0000
@@ -1218,6 +1218,9 @@
             Element ue = ec.create("user");
             ec.addAttr(ue, "uuid", user.identifier(), true);
             ec.addAttr(ue, "name", user.getName(), true);
+            Element ua = ec.create("account");
+            ec.addAttr(ua, "name", user.getAccount(), true);
+            ue.appendChild(ua);
 
             Document role = user.getRole();
 

http://dive4elements.wald.intevation.org