[go: up one dir, main page]

Skip to content

"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

  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

Edited by 🤖 GitLab Bot 🤖