Skip to content

Change UX flow of license exclude packages

What does this MR do and why?

Change UX flow of license exclude packages

Change default selected filters for license rule for approval polices

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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
UX flow for selection rule.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. Make sure allow/deny list selected by default
  6. Click add new criteria, make sure options disabled
  7. Remove allow/deny list
  8. Check add new criteria again

Related to #508668 (closed)

Merge request reports

Loading