Allow disabling of group delayed deletion
Problem to solve
In %12.8 we introduced a feature to prevent accidental deletions via soft delete for groups. A similar "soft delete" feature was introduced for projects in %12.6. The behavior was changed to be off unless enabled in #220382 (closed), due to customer feedback. It seems likely that customers have the same feelings about groups (but don't voice them as often because of lower impact with groups), and it would certainly be better to have the same functionality at both levels.
Proposal
- There should be an instance-level configuration option to "Enable delayed group removal", with explanation text: "Groups will be permanently deleted after a 7-day waiting period. This period can be customized by an admin in instance settings."
- Groups should not be soft deleted unless that option is enabled.
- The group deletion confirmation modal should explain whether the delay is enabled or disabled.
- The main documentation and API documentation to remove a group should note there will only be a delay if that option is enabled.