Explain free user cap calculation of minimum seats
What does this MR do and why?
This changes the label how the seats get calculated on the checkout page when free_user_cap is enabled for a group, as
we account for active
and awaiting
members when purchasing a
subscription for a group that is affected by the free_user_cap
.
Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/357257
Screenshots or screen recordings
FreeUserCap: Disabled | FreeUserCap: Enabled |
---|---|
How to set up and validate locally
export GITLAB_SIMULATE_SAAS=1
- Have customerDot running and set up correctly to work with your GitLab instance
gdk start
- Enable free_user_cap as feature flag globally, and set the gitlab instance to namespace plans
bin/rails c Feature.enable(:free_user_cap) ApplicationSetting.first.update(check_namespace_plan: true)
- Visit
http://localhost:3000/-/subscriptions/new?namespace_id=<your free group id here>&plan_id=2c92c0f876e0f4cc0176e176a08f1b70
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.