Skip to content

Pass permission ability for Group vulnerability report

What does this MR do and why?

Add GitLab Duo permission check to the Group level and pass it as an ability. This ability check will be used by the FE to display the VR filter accordingly.

Reference: This MR follows the same pattern as the previous permission addition at the project level: Extract Resolve Vulnerability Authorizer (!165872 - merged)

Screenshots or screen recordings

Setting Output
image image
image image
image image

How to set up and validate locally

  1. Go to the Group vulnerability report page
  2. Use the dev tool to check the ability variable.

Prerequisites:

  1. Ensure it's running in SAAS, docs. export GITLAB_SIMULATE_SAAS=1

Related to #496332 (closed)

Edited by Samantha Ming

Merge request reports

Loading