Clerk role enforcement
Connect FoxPlot roles and permissions to authenticated users so private routes cannot be opened without proper access.
Implementation notes
Store trusted roles in Clerk metadata or the database. Enforce access in middleware, server components, and sensitive API routes.
Launch risk
Admin, payout, author, advertiser, privacy, and moderation routes may be exposed if role enforcement stays frontend-only.
Connected routes
Tables
Environment