Allow subgroups to re-inherit parent group settings after overriding them
Summary
If a subgroup overrides a setting that was previously being inherited from a parent group, the subgroup can never again inherit this setting. This causes the subgroup setting to become independent and needs to be manually adjusted every time if needed.
There should be a way to have a subgroup re inherit the setting from its parent group, so a setting's value could be true, false or default (inherited).
See the comment on this issue for further context (Confidential).
Steps to reproduce
- Create top-level group
GroupA. - Create
SubGroupBunderGroupA. - Enable a setting, for example,
Delayed project deletiononGroupA. - Confirm that this same setting gets enabled on
SubGroupB. - Manually disable the same setting on
SubGroupB. - Manually disable the same setting on
GroupA. - Re-enable the setting on
GroupA. Notice thatSubGroupBdoes not inherit the setting.
From this point on, SubGroupB cannot inherit the setting value from GroupA, because it overrode it in the past. There is no way for SubGroupB to be set to inherit the setting from its parent ever again.
Feature request
Add a way for settings to be re-inherited from the parent group.
Output of checks
This behavior is present on GitLab.com.