Introduce a new "Allow immediate deletion" application setting (default: true)
- New
allow_immediate_namespaces_deletion
application setting (defaulttrue
)- Set it to
false
for GitLab.com and Dedicated (in a post-deploy migration for existing installations, production fixtures for new installations, and through model validation to ensure it cannot be enabled)
- Set it to
- Add support to update it in the Admin
- Replace
disallow_immediate_deletion
feature flag with this setting (and remove the feature flag), and update group/project settings page - See if the actions from group/project list pages need to be updated
- Update documentation
Edited by Rémy Coutable