Skip to content

Require users to confirm container repository name prior to deletion

Context

This came out from gitlab-org/distribution/team-tasks#1246 (comment 1345716685), where an internal user accidentally deleted the wrong container repository.

Proposal

Add a confirmation prompt to the container repository delete button on the UI, asking the user to type in the name of the repository to be deleted. This should avoid accidental deletions of the wrong repositories.

Implementation guide

  • Re-use the delete-modal.vue within components/details_page in pages/list.vue
Edited by Rahul Chanila