Check feature flag in Deletion protection admin setting
requested to merge 389557-turn-delayed-project-deletion-into-default-behaviour-and-remove-option-to-delete-immediately-frontend into master
What does this MR do and why?
Related to #389557 (closed)
We are changing the functionality of the Deletion protection
setting so group and projects are always deleted after a delay. The backend logic and feature flag was added in !113332 (merged). This MR uses that feature flag to update the UI.
In the admin area you can now only set the retention period to a value between 1 and 90 In the group settings there is no longer a setting to adjust how project deletion works
Screenshots or screen recordings
Admin setting
:always_perform_delayed_deletion feature flag disabled |
:always_perform_delayed_deletion feature flag enabled |
---|---|
Group setting
:always_perform_delayed_deletion feature flag disabled |
:always_perform_delayed_deletion feature flag enabled |
---|---|
How to set up and validate locally
- Enable the `` feature flag
- Go to
/admin/application_settings/general
and expand theVisibility and access controls
section. There should be only an input for retention period. - Go to a group ->
Settings
->General
->Permissions and group features
. TheDeletion protection
setting shouldn't be rendered.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Peter Hegman