The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update product-access-guard.ts
Kiran Kc4780e3f85df
diff --git a/apps/web/lib/auth/product-access-guard.ts b/apps/web/lib/auth/product-access-guard.tsindex e9969ee378..5d22a77043 100644--- a/apps/web/lib/auth/product-access-guard.ts+++ b/apps/web/lib/auth/product-access-guard.ts@@ -22,6 +22,9 @@ export const canAccessProgram = ({// API path namespaces that belong to the program product.// Centralized here so the restricted surface is easy to review/adjust.+// /api/analytics and /api/customers are intentionally omitted — both products+// use them (e.g. link analytics vs. program analytics), so blocking at the path+// level would break Dub Links for restricted users.export const PROGRAM_API_PATHS = ["/api/programs","/api/partners",