Skip to content

Add saas feature check for overage modal

Laura Callahan requested to merge 435230-overage_modal into master

What does this MR do and why?

Related to #435230 (closed)

Add saas feature check for overage modal. Scopes CDot queries to saas feature check to prevent failing queries.

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
image non_saas_ee

How to set up and validate locally

  • Set export GITLAB_SIMULATE_SAAS=0. Verify you don't have it overridden to 1 in your env.runit or zsh/bash profile
  • Create a new premium subscription with 1 seat (http://localhost:3000/-/subscriptions/new?plan_id=2c92c0f876e0f4cc0176e176a08f1b70) and link it to a new or existing group
  • Navigate to the group's members http://localhost:3000/groups/GROUP_NAME/-/group_members
  • Add a new member at a Maintainer or Owner level
  • The overage modal should not appear
  • There should not be a graphQL query in the devtools Network panel for getReconciliationStatus

Related to #435230 (closed)

Edited by Laura Callahan

Merge request reports