Project

General

Profile

Story #12702

Updated by Peter Amstutz about 7 years ago

New API end point to migrate user accounts, admin only, "old" UUID is existing user, "new" UUID is one that doesn't exist yet. 

 If the target exists, it is an error. 

 All records (links, collections, projects, jobs, pipelines, etc) owned by old user are reassigned to new user. 

 All head/tail_uuid of the old user are changed to the new user. 

 API tokens associated with old user are migrated. 

 SSH keys associated with the old user are migrated. 

 User keeps old username  

 Old user should be completely removed from system after migration. 

 The migration should be done in a transaction so that a server crash will not result in a half-migrated state. 

Back