Page MenuHomePhabricator

Investigate renaming existing users on gitlab
Closed, ResolvedPublic2 Estimated Story Points

Description

Since it's simple to change the login for existing users via CAS, is it possible to redirect repos and usernames as well? Is that even needed? What are the options?

Event Timeline

thcipriani set the point value for this task to 2.
brennen edited projects, added GitLab; removed GitLab (Initialization).
brennen edited projects, added GitLab (Auth & Access); removed GitLab.
brennen claimed this task.
brennen moved this task from Doing to Done or Declined on the User-brennen board.

Handled while resolving T288392. See set-usernames - a quick and dirty utility for changing usernames in bulk for the necessary API invocation, namely (as expressed in the Python wrapper):

user.username = new_username
user.provider = "cas3"
user.extern_uid = new_username
user.save()

I'll tidy this up into a standalone utility for future renames.