Skip to content

Only show `Infra :: Google Cloud` menu item when Google OAuth2 is enabled

Sri Rang requested to merge sync_infra_google_cloud_menu into master

What does this MR do and why?

The Google Cloud menu item under Infrastructure will only be shown if that GitLab instance has been configured for Google Oauth2.

Requested by users.

Fixes #378899

Screenshots or screen recordings

None, just toggles the appearance of an existing menu item.

How to set up and validate locally

You can configure and de-configure the Google OAuth2 on your GDK to replicate the scenarios. See https://docs.gitlab.com/ee/integration/google.html for step by step on how to setup Google OAuth2.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sri Rang

Merge request reports