Organization
An organization represents a company, business unit, or tenant in the Samna platform. It is the root of the resource hierarchy and owns locations, claims, modules, and users beneath it.
Organization Types
| Type | Purpose |
|---|---|
| System | The top level system organization |
| Company | A standard company or business tenant |
| Child | A sub organization under a parent company |
Hierarchy
Organizations support parent child relationships. A company organization can have child organizations beneath it, allowing multi-tenant setups. Each level in the hierarchy is tracked so the system knows how deep a given organization sits.
External Providers
Organizations can be linked to external identity providers. Each organization configures its own OAuth credentials, redirect URIs, and provider settings so that users within that organization authenticate through the correct identity provider.
Modules
Organizations enable functional modules that control which features are available. A module like "bookings" or "reporting" can be activated per organization, allowing the platform to tailor functionality to each tenant.
What an Organization Contains
| Resource | Relationship |
|---|---|
| Locations | Physical sites owned by the organization |
| Claims | Permissions granted within the organization |
| Modules | Functional features enabled for the organization |
| Providers | OAuth configurations for user authentication |
| Assets | Images and branding files |
| Users | People with claims scoped to this organization |