| Issue 567: | Merging Gerrit User Accounts | |
| 39 people starred this issue and may be notified of changes. | Back to list |
Sometimes users wind up with two accounts on a Gerrit server, this is especially common with OpenID installations when the user forgets which OpenID provider he had used, and opens yet another account with a different OpenID identity... but the site administrator knows they are the same person. Probably what we need to do is, permit the user to merge the account on their own through the existing link identity feature.
May 11, 2010
#1
sop@google.com
Status:
Accepted
May 11, 2010
I think the "Confirm OpenID" in statckoverflow maybe helpful. The user is given an option for creation or link. Confirm OpenID This is an OpenID we haven't seen on Meta Stack Overflow before: https://www.google.com/accounts/o8/id?id=aitoawlaysitgwrflop1ut50gs8u0l6fvoq0qqi Do you want to create a new Meta Stack Overflow account with this OpenID? (If you want to associate this OpenID with an existing Meta Stack Overflow account, click Cancel, log in to your Meta Stack Overflow account, then click the Add/Change OpenID link on your user page.)
Aug 20, 2010
We end up with the need to do this with LDAP also. Sometimes userids in ldap change for a user, once this happens, the user is not able to access their old account to even update it (since it is no longer in LDAP). It seems like and admin sql script which merged the two users might be a good fix (simply update the old userids in every table with the new one)?
Aug 21, 2010
The SQL script on the wiki should be able to merge any two accounts, LDAP or OpenID, it doesn't care. Though after merging two LDAP accounts you may need to go and delete the old "gerrit:%s" account_external_id record. Anyway, we really want this in the web UI so its either self-service for an OpenID user, or is available to a site administrator so they can help out a user who cannot do the merge on their own. Doing it by SQL update is not fun, and will become impossible when we are running on a NoSQL system.
May 20, 2011
Issue 932 has been merged into this issue.
Jun 21, 2013
A deactivate account feature would give the same functionality I presume, and I would like to see that soon. :)
Jun 21, 2013
@championswimmer, you can already set accounts to "inactive", but that doesn't help with merging. There are unique problems to merging accounts that "inactive" doesn't solve at all (like registered email addresses being locked to the old account).
Oct 10, 2013
i have users registered on gerrit. previously they were being logged in with openid. now i have created ldap ids(changed authentication from openid to ldap) for them. how can i attach these ldap ids with their previous accounts? |
|
| ► Sign in to add a comment |