CRITICAL story-admin-portal-global-admin-006 8 pts
8
Story Points
Critical
Priority
Admin Portal
Feature

User Story

As a Global Administrator
I want to provision a new member organization on the platform, including creating the organizational hierarchy, setting initial configuration, and bootstrapping administrator accounts
So that So that new client organizations can be onboarded onto the platform independently without requiring manual database operations or custom deployments

Acceptance Criteria

  • Given I am a Global Administrator, when I initiate organization provisioning, then I can define the organization name, type, and hierarchical structure
  • Given the organizational hierarchy is defined, when I save it, then Supabase RLS policies are automatically scoped so the new organization's data is isolated from all other organizations
  • Given the organization is created, when I assign the first Organization Administrator, then that user receives access to the new organization's Admin Portal with the correct scope
  • Given I configure initial terminology labels during provisioning, when the Organization Administrator first logs in, then the app displays the configured labels throughout
  • Given the provisioning flow is completed, when I review the audit log, then every provisioning action is recorded with timestamps and actor identity
  • Given provisioning fails at any step, when an error occurs, then the system rolls back partial changes to prevent a corrupted organizational configuration

Business Value

Manual onboarding of new organizations is a significant bottleneck that limits Norse Digital Products' ability to scale. Each new client organization requires coordination between developers and client administrators, delaying time-to-value and consuming engineering resources. A self-service provisioning workflow directly accelerates revenue growth by enabling the sales and customer success team to onboard clients without engineering involvement, a critical capability for a SaaS platform targeting dozens of Norwegian non-profit organizations.