Update getSubscriptionPermissionsData to not use namespace for SM
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 ![]() ![]() |
![]() |
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enabled?(:usage_quotas_for_all_editions)
- Must have a ramp or reseller self-managed instance with Duo Pro seats, see zuora_tips_and_tricks
- Visit http://localhost:3000/admin/code_suggestions
Related to #442909
Edited by Minahil Nichols