Commit Graph
2 Commits
Author SHA1 Message Date
Moheeb Zara 95f79771ec docs: record spine A1+A2 prod provisioning; fix crontab CRON_SECRET footgun 2026-05-21 00:29:05 -07:00
Moheeb Zara 0b6ef20891 add spine-validation owner runbook; lock privilege-escalation RLS test
docs/SPINE_VALIDATION.md: a precise owner runbook + checklist that provisions
the shipped-but-inert spine (Resend, CRON_SECRET + both crontabs, per-space
Stripe test mode + Billing Portal, the Supabase change-email template) and
proves each path end to end (dues cycle, notifications, prefs/inbox, /me,
door). Grounded in the actual config and route fail-closed codes; linked from
the README docs table.

integration/permission-escalation.test.ts: lock the additive permission
model's core guard, previously untested -- only admin/board may write
space_role_permissions, so a plain member cannot grant themselves a
capability, and the WITH CHECK pins the space.

No app code or migration; suite 626 unit / 54 integration green.
2026-05-20 23:22:48 -07:00