Adds link to google artifact registry settings
What does this MR do and why?
Adds link to google artifact registry settings
This should be visible only for users with permissions to view settings.
Fix issue in smaller viewports
- the project icon should not shrink
- the “Open in Google Cloud” button could be moved below to avoid wrapping the text
Integration settings was added in Add GoogleCloudPlatform::ArtifactRegistry integ... (!141127 - merged)
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.
Before | After |
---|---|
How to set up and validate locally
-
Enable container registry in the gdk https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/registry.md#set-up-container-registry-to-display-in-ui-only
-
Simulate a SAAS instance in local GDK
-
In rails console enable the experiment
Feature.enable(:gcp_artifact_registry)
-
Visit
Project > Deploy > Google Artifact registry
-
Confirm clicking on the settings icon takes you to the integration settings page.
-
Change user roles & confirm that settings link is not visible if the user does not have permission.
Related to #425154 (closed)