:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(data-warehouse): include coupon read scope in pre-filled Stripe key (#72107)
Tom Owers1978a761dee5
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/stripe/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/stripe/source.pyindex 36bc9643ad5a..fd439237e5d1 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/stripe/source.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/stripe/source.py@@ -86,6 +86,7 @@ PERMISSIONS = ["rak_credit_note_read","rak_invoice_read","rak_plan_read", # This is `price` in the UI, but `plan` in their API+ "rak_coupon_read", # Coupons is an importable table and needs its own scope; refunds ride on charge_read"rak_subscription_read","rak_application_fee_read","rak_transfer_read",