[Frontend][Bug] Unable to select multiple projects in policy scope
Summary
When creating new security policy:
User select specific projects
after search, when searched again instead of adding another project
to selection, project is replaced.
Steps to reproduce
- Go to project/group
-
Secure
->Polices
->New policy
- Go to policy scope and add exception projects or specific projects
- Search for project, select found project, search another project, select newly found project
Example Project
Video https://hello.chorus.ai/listen?guid=c8e0f2fbc5564fa3963972c438fd2846
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)
Possible fixes
Edited by Artur Fedorov