Project deletion protection includes user's personal namespace

Problem to solve

When the project deletion protection is enabled users aren't allowed to delete projects in their own personal namespace. This can be confusing and add administrative overhead. Ideally, there would be an option to allow users to manage their own namespace, but also block accidental deletion by non-admin users in group projects.

https://docs.gitlab.com/ee/user/admin_area/settings/visibility_and_access_controls.html#default-project-deletion-protection-premium-only

Only admins can delete project

only_admins

Further details

The docs don't indicate if this is intended (blocking the user's personal namespace) or not. So it appears this is the expected behavior. It may also be good to potentially add some clarification if this is intended.

Proposal

If the current behavior is intended, add an option to allow users (or not allow) to delete their own projects. Add an additional checkbox for restricting user's personal namespace.

allow-personal

Links / references

https://docs.gitlab.com/ee/user/admin_area/settings/visibility_and_access_controls.html#default-project-deletion-protection-premium-only

Internal ZD