Unable to add users to protected branch rules.

Summary

With 11.7.3 users are unable to be added successfully to protected branch rules.

You cannot create a new rule/branch/wildcard with any users selected, and any updates to existing rules with users don't work either. Doesn't appear to be any specific errors or non-success response codes.

Steps to reproduce

  • Create new project/repository (with a master branch)
  • Navigate to Settings > Repository > Protected Branches
  • Select Branch and set a user in the Allowed to merge and/or Allowed to push fields.
  • Protect -> Verify no new rule was created.

reproduce

What is the current bug behavior?

Protected branch rules fail with users

What is the expected correct behavior?

Able to associate users to rules.

Reproduced on 11.7.3, and currently reproducible on gitlab.com Not reproducible on 11.6.5

Internal ZD Ticket

Assignee Loading
Time tracking Loading