Skip to content

Fix all protected branches not showing

What does this MR do and why?

Describe in detail what your merge request does and why.

Fix all protected branches not showing

  • all branches is showing instead of all protected branches
  • add test
  • first implemented in 39d4502d, but accidentally removed in a recent project

Changelog: fixed

EE: true

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2023-03-21_at_17.04.09 Screenshot_2023-03-21_at_17.04.28

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to http://gdk.test:3443/flightjs/Flight/-/security/policies/new?type=scan_result_policy
  3. Select security scanner
  4. verify branch dropdown

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading