Onboard New Member Organization onto Supabase Platform
When a new member organization (e.g., Barnekreftforeningen or a new regional association) joins the platform, the Global Administrator must provision their organizational context. This includes creating the organization record in the database, assigning the initial global admin user, configuring organization-specific labels and terminology, setting up integration configurations for their accounting/member systems, and verifying RLS policies correctly scope data to the new organization. The process must be repeatable and documented.
User Story
Acceptance Criteria
- Given a new organization is being onboarded, when the admin creates the organization record and assigns an admin user, then the new admin can log in and access only their organization's data
- Given the new organization's admin performs database operations, when RLS evaluates their JWT claims, then only data scoped to their organization_id is returned
- Given the new organization has unique terminology (e.g., 'frivillig' instead of 'likeperson'), when the admin configures org_labels, then all UI labels reflect the organization's terminology without code changes
- Given the onboarding is complete, when the global admin reviews the organizations table, then the new organization appears with all required configuration fields populated
- Given the new organization uses a different accounting system, when the admin configures their integration_configs record, then their sync service uses the correct endpoint and credentials
Business Value
The platform's business model depends on scaling across multiple member organizations (NHF, Blindeforbundet, HLF, Barnekreftforeningen, and future members). A repeatable, safe onboarding process is required to grow the platform without accumulating manual technical debt or risking cross-organizational data exposure. Each new organization represents recurring platform revenue and expands the impact of the likeperson network.
Components
- Database Schema data
- Supabase Platform infrastructure
- Supabase Client Service service