Skip to content

Remove the :purchase_code_suggestions flag guard from purchases api

Vladlena Shumilo requested to merge 415047-confidential-issue into master

What does this MR do and why?

Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/415047

Context on the change: https://gitlab.com/gitlab-org/gitlab/-/issues/415047#note_1498948009

Summary

Remove the :purchase_code_suggestions flag guard from purchases api

Update the add_on_purchases endpoints to make it agnostic to the state of the :purchase_code_suggestions feature flag.

The endpoints are going to be used by CustomersDot, already require an admin authentication and are guarded by a feature flag on the CustomersDot end. Please refer to the "Context on the change" reference for more details on the decision.

Screenshots or screen recordings

Does not apply.

How to set up and validate locally

Covered by specs, this endpoint is not currently used.

MR acceptance checklist

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

Related to #415047

Edited by Vladlena Shumilo

Merge request reports