GAR Integration: Add permission to read artifact registry repository
Description
We need to introduce a new permission read_google_cloud_artifact_registry
to gate Google Artifact Registry repository access in the frontend to the Google Artifact Registry sidebar menu item and GraphQL queries.
Additionally add the tests to verify that the Google Artifact Registry sidebar menu item is only shown when an user has the right permissions. More context is here
Include the saas only check in the permission. This condition already exists in the EE project policy: google_cloud_support_available
.
The read_google_cloud_artifact_registry
should be granted to reporter+
(no matter the project visibility).
Edited by David Fernandez