Organization Service
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
6
Entities
0
Integrations
Description
Backend service that orchestrates reads and writes for organization-level configuration. Enforces authorization rules, validates payloads, persists changes via the Organization Store, and refreshes the bootstrap response so clients receive updated settings without a release.
organization-service
Sources & reasoning
Listed as the first feature of admin-organization in the canonical taxonomy (§8) and required by §193 to host the time-bounded Norse support-access flag. MVP since admin-organization is in the always-on set for the Admin Web Portal.
-
docs/source/likeperson.md · line 193Orgs can grant a Global Admin time-bounded support access via a flag in Organization Settings (e.g. "Allow Norse support access until {date}")
-
docs/source/likeperson.md · line 378admin-organization | Organization Management | Organization Settings, Custom Terminology, Feature Toggles, Multi-Organization Hierarchy, Member Associations, External Portal Integration
Responsibilities
- Authorize requests against the Organization Administrator role
- Validate and normalize organization settings payloads (locale, timezone, contact info)
- Coordinate persistence of changes through the Organization Store
- Invalidate and refresh bootstrap caches after settings updates
- Emit audit log entries for settings changes
Interfaces
getOrganization(orgId): Organization
updateOrganization(orgId, payload): Organization
getOrganizationSettings(orgId): OrganizationSettings
updateOrganizationSettings(orgId, settings): OrganizationSettings
Related Data Entities (6)
Data entities managed by this component