Move immutable tags UI to EE
What does this MR do and why?
Moves the frontend code behind the feature flag containerRegistryImmutableTags to EE.
References
Screenshots or screen recordings
👋 No UI changes
| Before | After |
|---|---|
How to set up and validate locally
- Setup & enable Container Registry https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md
- In rails console enable the feature flag
Feature.enable(:container_registry_immutable_tags) - Enable the metadata database https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md#metadata-database
- Visit Project > Settings > Packages and registries, Expand Container registry section
- In
Protected container image tagssection, Create container registry protection protected & immutable rules. - Confirm that edit icon is visible only on protected rules.
- Confirm that
protected/immutablebadges are shown correctly. - Login as maintainer, confirm that
- You cannot create immutable rules
- You cannot delete immutable rules.
- Simulate CE license https://docs.gitlab.com/development/ee_features/#simulate-a-ce-instance-when-unlicensed and ensure you cannot do any of the above steps.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Payton Burdette