Skip to content

Draft: Update group retrieval to use appropriate endpoint

Alexander Turinske requested to merge 382149-update-group-select into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Update group retrieval to use appropriate endpoint

  • use API instead of incorrect graphql
  • update tests

Screenshots or screen recordings

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

No visual change

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. Enable the scan_result_role_action feature flag: echo "Feature.enable(:scan_result_role_action)" | rails c
  3. Navigate to http://gdk.test:3443/flightjs/Flight/-/security/policies/new?type=scan_result_policy
  4. Verify users can add groups

MR acceptance checklist

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

Related to #382149 (closed)

Merge request reports