fix(entitlements): trial seeding grants every paid capability, not the launch four (#1698)

seed_trial_capability_grants() still hardcoded ai/bank_sync/skatteverket/
email_send while PAID_CAPABILITIES grew to seven keys. Payers got all seven
via the Stripe webhook; every company created since 2026-07-12 was trialing
without stripe_payments (and later woocommerce_sync/shopify_sync). Redefine
the trigger with the full set, backfill existing trial grants by mirroring
bank_sync, and pin the pg test to PAID_CAPABILITIES so the lists cannot
drift again.

Co-authored-by: Jakob Wennberg <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Jakob Wennberg
2026-08-19 11:09:10 +02:00
committed by GitHub
co-authored by Jakob Wennberg Claude Fable 5
parent 43cde6deb9
commit b07a4a4bca
3 changed files with 67 additions and 2 deletions
+1
View File
File diff suppressed because one or more lines are too long