Add more eligibility for ultimate with duo enterprise trials
What does this MR do and why?
Add more eligibility for ultimate with duo enterprise trials
- per the business we need to allow more conditions
- no changelog as we are technically still behind feature flags
- see https://gitlab.com/gitlab-org/gitlab/-/issues/500325
DB analysis
-
no_active_duo_pro_trial - https://console.postgres.ai/gitlab/gitlab-production-main/sessions/33022/commands/101736
- this is used as a small piece of the finder below and each namespace only has max 1 record for each add on type and there are currently only 3 add on types and will grow slowly over time but be driven by product.
-
eligible_for_trial - https://console.postgres.ai/gitlab/gitlab-production-main/sessions/33060/commands/101925
- this is used as a small piece of the finder below
-
Users::TrialEligibleNamespacesFinder - https://console.postgres.ai/gitlab/gitlab-production-main/sessions/33066/commands/102078
- did not use a limit here and used the qa user id. More likely we can assume a smaller number of namespaces for large number of users here.
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.
Related to #500325
Edited by Doug Stull