Add allow deny list modal yaml update

What does this MR do and why?

Scope of this MR:

  1. Add yaml update for allow/deny licenses modal
  2. Make sure license dropdowns are updated when license is selected
  3. Disable add license button when all licenses were selected
  4. Add tests

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

Description UI
Update yaml licenses.mov

How to set up and validate locally

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

Enable Feature flag:

Feature.enable(:exclude_license_packages)
  1. Go to Group/Project
  2. Secure -> Policies
  3. New policy -> Approval Policy
  4. Select licence scan in rule section
  5. Add new criteria allow deny list
  6. Click on link button allowlist
  7. Add remove licenses

Related to #499149 (closed)

Edited by Artur Fedorov

Merge request reports

Loading