Allow direct transfer migration to be easily canceled by Admin
Direct transfer issue for epic Allow importers to be easily stopped (&12427).
Proposed actions
-
Implement a mechanism so that Admin can easily cancel direct transfer migrations. Via rails console it's possible to delete/cancel a direct transfer import, see https://docs.gitlab.com/ee/user/group/import/#cancel-a-running-import from conversation here. As we don't have design yet, let's start with an api endpoint.
DELETE /bulk_import/:id
The aim is to allow an instance Admin to react fast to an incident - to cancel and delete the import. "Admin" means the instance Admin, not the user performing the migration. (Cancelling or stopping by the importing user would be another feature, but this will be worked on after we have a Designer that can help with the flow.) -
Document in the runbook how to do that. Also, include in the runbook that importers can be disabled via UI.