> I'm curious about the ability to change a user's name with the 2.1.5
> version of Gerrit.
http://groups.google.com/group/repo-discuss/browse_thread/thread/cb72aad1888a0bb4
[...]
> Any options in the UI or is this a DB change?
> If so, what would I change?
Sorry, can't help with the necessary database changes. The user's row in
the accounts table would of course have to be adjusted, but if there's
anything more to it I'd just be guessing.
--
Magnus B�ck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
Nope, you can't change it. The reason is we support ${username} in
ref access rules to create per-user branch names. If the user changed
their username, they would lose access to their current branches in
any projects where they had created these types of branches.
> Any options in the UI or is this a DB change?
> If so, what would I change?
You'll need to edit the database by hand. One way to do that is to
delete the current username for the user:
DELETE FROM account_external_ids WHERE external_id LIKE 'username:%'
AND account_id = NNNNN;
And then flush the accounts cache. The user should then be able to
set the username again.