Remove license compliance feature flag reference
What does this MR do and why?
After the license_compliance_denies_mr
feature flag was enabled, it was removed via !43577 (merged). That MR didn’t remove all references because the feature flag is named licenseComplianceDeniesMr
in Vue. This MR removes the remaining feature flag references to enable two UI changes that were part of the feature flag.
This also fixes a wrong GitLab UI util class (found in !60841 (merged)) in the policies table.
Screenshots or screen recordings
Where | Before | After |
---|---|---|
Policies (non-admin) | ||
|
n/a | |
Adding a license policy (admin) |
How to set up and validate locally
Prerequisite
- Create a project
- Set up license compliance via CI with at least one detected license
Policies (non-admin)
- Switch to a non-admin user, who has access to the project (e.g. Developer)
- Go to Security & Compliance -> License Compliance
- Click on the Policies tab
- See the question mark
Adding a license policy (admin)
- Switch to an admin user, who has access to the project (e.g. Maintainer/Owner)
- Go to Security & Compliance -> License Compliance
- Click on the Policies tab
- Click on Add license policy
- See the descriptions of the Allow and Deny policy options
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kev