Harden auth + tenant security + creatives scaffold #1

Merged
Marketing merged 3 commits from harden/auth-tenant-security into main 2026-09-21 10:22:54 +00:00
Owner

Summary

  • Auth middleware on APIs; tenant-scoped KPIs/chat/simulate
  • Scrub secrets from .env.example; security/ops docs
  • Creatives SQL + API + dashboard UI

Test plan

  • Redeploy Dokploy from this branch or merge to main
  • curl /api/health
  • Login marketing@ / admin
  • KPIs + chat require session
  • Apply sql/creatives.sql before creatives UI
## Summary - Auth middleware on APIs; tenant-scoped KPIs/chat/simulate - Scrub secrets from .env.example; security/ops docs - Creatives SQL + API + dashboard UI ## Test plan - [ ] Redeploy Dokploy from this branch or merge to main - [ ] curl /api/health - [ ] Login marketing@ / admin - [ ] KPIs + chat require session - [ ] Apply sql/creatives.sql before creatives UI
Marketing added 3 commits 2026-09-21 10:19:13 +00:00
Require session on APIs, scope KPIs/activos/simulate to the user tenant, strip real JWTs from .env.example, and add health/smoke/docs for 4Ventures ops.

Co-authored-by: Cursor <cursoragent@cursor.com>
Unblock ops with marketing@ provisioning steps and start multi-tenant creatives against Supabase RLS.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Marketing merged commit ec642b057a into main 2026-09-21 10:22:54 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Marketing/4ventures-client-portal#1