Can no longer assign a group to Merge Request Approvals rules
Summary
I can no longer find and therefore add a group to a project Merge Request approval rule.
Steps to reproduce
Go to Settings -> General -> Merge Request Approval Click on Add approval Rule Enter Name and search for known group in the search box. None of my groups can be found.
HOWEVER, I can use the API to add this group correctly:
curl -s -f -X POST -H 'PRIVATE-TOKEN: <TOKEN>' --header 'Content-Type: application/json' --data '{"name": "approvals", "group_ids": ["11621528"], "approvals_required": 1}' https://gitlab.com/api/v4/projects/32550781/approval_rules
This adds my group correctly as shown below:
Opening up the RULE created via the api shows the group selected:
Example Project
See above for example
What is the current bug behavior?
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)