# HG changeset patch # User Bjoern Ricks # Date 1345730596 0 # Node ID f4b14240ffa359c007f84743f718ce3edd63b91c # Parent 20f12944c71062c7e4275380906595734870687f Also add the account information when listing users artifacts/trunk@5249 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 20f12944c710 -r f4b14240ffa3 ChangeLog --- 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 + + * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: + Also add the account information when listing users. + 2012-08-23 Björn Ricks * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: diff -r 20f12944c710 -r f4b14240ffa3 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();