[License Compliance Widget Extension] - Backend - Add approval required field to Licenses API endpoint
Description
Add field to indicate if approval is required. We should build on the summary endpoint that will be added in #350333 (closed)
Current iteration of License MR widget extension
Why we need this field
So the UI can know when to indicate approval_required
Implementation plan
- Enhance
LicenseCompliance::CollapsedComparerEntityandLicenseCompliance::ComparerEntitywithapproval_requiredfield. - This field should get information from
merge_request.has_denied_policies?. We need to propagate this value to the serializer - Update tests.
Edited by -

