Re: [Mailman-Developers] Merging users

On Jul 21, 2015, at 06:39 PM, Aurelien Bompard wrote:
So, Abhilash submitted a merge request to allow for unlinked addresses to be linked to existing users via the REST API.
https://gitlab.com/mailman/mailman/merge_requests/30
That's essentially the correct fix for the first order problem (though there's a subtle bug in the mr that I will fix manually).
If that answers your question, then great!
Actually merging two existing users is indeed a tricky thing because users link to so many other interesting bits and pieces. Two separate users have two separate memberships, linked addresses, preferred addresses, and yes, preferences. There are also the created_on, display_name, and (the mostly unused) password attributes.
How deep does merging users go?
Cheers, -Barry

Abhilash's fix is good but I need to actually merge users, so here's how I would do it. https://gitlab.com/mailman/mailman/merge_requests/32 The change sits on top of Abhilash's, so there's no conflict.
I don't think I'm missing anything as far as users are concerned, but please have a look :-)
Cheers, Aurélien

Abhilash's fix is good but I need to actually merge users, so here's how I would do it. https://gitlab.com/mailman/mailman/merge_requests/32 The change sits on top of Abhilash's, so there's no conflict.
I don't think I'm missing anything as far as users are concerned, but please have a look :-)
Cheers, Aurélien
participants (2)
-
Aurelien Bompard
-
Barry Warsaw