Skip to main content

Membership System

Lifecycle

Every actor-to-center relationship follows a strict lifecycle:

Database Schema

Key columns in center_memberships:

Security Guarantees

  • No backdoor access: All center data access requires an ACTIVE membership
  • No center_id fallback: Direct center access without membership was removed and verified (0 affected rows in staging/production)
  • Audit trail: All membership status changes are logged

Querying Memberships