Skip to content

Commit

Permalink
copy user configuration along with rest of user properties
Browse files Browse the repository at this point in the history
should probably have been in ome#4762 really
  • Loading branch information
mtbc committed Mar 2, 2017
1 parent 510b525 commit c2655cb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* $Id$
*
* Copyright 2009-2014 Glencoe Software, Inc. All rights reserved.
* Use is subject to license terms supplied in LICENSE.txt
*/
Expand Down Expand Up @@ -292,6 +290,7 @@ protected Experimenter copyUser(Experimenter e) {
copy.setEmail(e.getEmail());
copy.setInstitution(e.getInstitution());
copy.setLdap(e.getLdap());
copy.setConfig(e.getConfig());
if (e.getDetails() != null && e.getDetails().getPermissions() != null) {
copy.getDetails().setPermissions(e.getDetails().getPermissions());
}
Expand Down

0 comments on commit c2655cb

Please sign in to comment.