Scope customersdot GraphQL proxy as a SaaS feature
Problem
While removing the FF that guards the new overage members modal it was discovered that we did not properly scope the code to SaaS. This results in SM EE instances trying to make calls to Cdot that will always fail.
The frontend piece of not making the request in the first place will be taken care of here: Properly Scope Overage Members Modal to SaaS (#435230 - closed).
This issue is about scoping the customersdot GraphQL proxy.
Proposal
Scope customersdot GraphQL proxy as a SaaS feature using https://docs.gitlab.com/ee/development/ee_features.html#saas-only-feature.
- Create a feature flag
- Add the feature flag to
ee/lib/ee/gitlab/saas.rb
following the instructions you linked to https://docs.gitlab.com/ee/development/ee_features.html#saas-only-feature. - Use the feature flag to scope the availability of the customersdot GraphQL proxy for SaaS only.