"Reject inconsistent user name" push rule set at admin level isn't being inherited by newly created groups
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
Context !188157 (comment 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
-
Start an instance
-
Log in as an admin user
-
Visit the push rules in the admin area
http://localhost:3000/admin/push_rule
-
Select "Reject inconsistent user name" (checked)
-
Create a new group
-
Visit the push rules in the group settings
http://127.0.0.1:3000/groups/mynewgroup/-/settings/repository#js-push-rules
-
Observe "Reject inconsistent user name" (unchecked)
Edited by 🤖 GitLab Bot 🤖