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.
This commit is contained in:
@@ -97,6 +97,7 @@ The deploy script is idempotent and tracked: every numbered migration in `script
|
||||
| [docs/API_REFERENCE.md](./docs/API_REFERENCE.md) | Server actions and REST endpoints |
|
||||
| [docs/COMPONENT_REFERENCE.md](./docs/COMPONENT_REFERENCE.md) | UI components and props |
|
||||
| [docs/DEPLOY_DO_SELFHOSTED.md](./docs/DEPLOY_DO_SELFHOSTED.md) | End to end production deploy |
|
||||
| [docs/SPINE_VALIDATION.md](./docs/SPINE_VALIDATION.md) | Owner runbook: provision + prove dues/email/door end to end |
|
||||
| [docs/LOCAL_DEV.md](./docs/LOCAL_DEV.md) | Fresh clone to running locally |
|
||||
| [docs/GOVERNANCE_FEATURES.md](./docs/GOVERNANCE_FEATURES.md) | Proposals, incidents, policies |
|
||||
| [docs/WEBHOOKS.md](./docs/WEBHOOKS.md) | Webhook payload, signing, verification |
|
||||
|
||||
Reference in New Issue
Block a user