Implement checkbox (or other) to make deletion of a project opt-in

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Problem to solve

Prevent a new gitlab-com/gl-infra/production#1183 (closed) and other people from accidentally deleting their repositories.

Intended users

Proposal

Under project settings add a checkbox, that allows a user to prevent deletion of that project. This checkbox would be disabled on project creation (as the default) and needs to be checked in order to be able to delete the project (via the API and/or UI)

Permissions and Security

The owner of the project should be able to toggle this setting

Documentation

Testing

What does success look like, and how can we measure that?

It is not possible to delete a project if the checkbox is not checked.

What is the type of buyer?

Core

Links / references

Edited Jul 01, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading