(Optionally) Enforce push rules at the group level
Background
GitLab provides the ability to configure push rules at the group level, but they are only inherited by projects and subgroups upon creation. They can currently be overridden. Furthermore, we've proposed the ability to recursively apply group-defined push rules to all child groups and projects.
GitLab should provide the ability for a group owner to enforce push rules, in a manner analogous to how we've implemented the cascading settings framework.
Proposal
Allow a Maintainer or Owner the ability to optionally enforce any configurable push rule, to prevent projects and subgroups from overriding this setting. GitLab's implementation of delayed project deletion with an optional "enforce for all subgroups" is a good model of how this could be implemented.
As an alternative approach, we could consider implementing enforcement via compliance frameworks, as @stkerr proposes in #338247 (closed).
delay
Release notes
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.