Backend: set verification_level when new catalog resource is published and fix badge enum mismatch
Problem
With the addition of the badges for CI/CD catalog, implemented via the Ci::Catalog::VerifiedNamespace
model, we need to ensure that when a new catalog resource is published to the catalog it inherits the right value of verification_level
set at namespace level.
This allows the catalog resource to display the correct badge that was set at namespace level.
Proposal
In Ci::Catalog::Resources::CreateService
we could add this logic.
Also in this issue - fix the verification_level
values in Ci::Catalog::Resource
to match those in VerifiedNamespace
Edited by Avielle Wolfe