Skip to content

Update getSubscriptionPermissionsData to not use namespace for SM

Minahil Nichols requested to merge 442909-add-sm-permissions-data into master

What does this MR do and why?

Solves https://gitlab.com/gitlab-org/gitlab/-/issues/442909

We have added the ability to use <code data-sourcepos="5:36-5:52">subscription_name</code> to fetch permissions data for SM subscriptions. This MR consumes this change to allow to better permissions UX for SM subscriptions.

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

Before After
redirects to customers image image image

How to set up and validate locally

  1. In rails console enable the experiment fully
    Feature.enabled?(:usage_quotas_for_all_editions)
  2. Must have a ramp or reseller self-managed instance with Duo Pro seats, see zuora_tips_and_tricks
  3. Visit http://localhost:3000/admin/code_suggestions

Related to #442909

Edited by Minahil Nichols

Merge request reports