Idea #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.
Workbench will provide a "merge accounts page" which enables the user to be logged in to both accounts, presents a confirmation (possibly calling "dry run" API endpoint describing what will happen), and sends API request to merge.
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.