"Reject inconsistent user name" push rule set at admin level isn't being inherited by newly created groups
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=539375) </details> <!--IssueSummary end--> # Problem Context https://gitlab.com/gitlab-org/gitlab/-/merge_requests/188157#note_2482359108 Push rules set at the admin level are supposed to be inherited by newly created child groups. There is a bug where if "Reject inconsistent user name" is set at the admin level, it does not apply to newly created groups or projects. # Repro steps 1. Start an instance 2. Log in as an admin user 3. Visit the push rules in the admin area `http://localhost:3000/admin/push_rule` 4. Select "Reject inconsistent user name" (checked) 5. Create a new group 6. Visit the push rules in the group settings `http://127.0.0.1:3000/groups/mynewgroup/-/settings/repository#js-push-rules` 7. Observe "Reject inconsistent user name" (unchecked) ![bug.mov](https://gitlab.com/-/project/278964/uploads/9cca1e8bb2f032ea47b6c808a891d9dd/bug.mov)
issue