Actions
Idea #12702
closedMigrate user accounts
Start date:
01/05/2018
Due date:
Story points:
2.0
Description
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.
Actions