User Interface medium complexity frontend
0
Dependencies
0
Dependents
2
Entities
0
Integrations

Description

Administrative settings page where Org Admins configure their organization's core operational parameters. Renders editable forms for contact details, locale preferences, support-access grants, and module-level configuration values. Provides real-time validation feedback and persists changes through the OrganizationSettingsService.

Feature: Organization Settings

organization-settings-page

Sources & reasoning

Phase 1 MVP admin scope (line 327) explicitly lists 'Organisasjonsinnstillinger'. admin-organization is always-on (line 241), making this non-deferrable. The support-access grant (line 259) is a hard tenant-isolation requirement across all organizations.

  • docs/source/likeperson.md · line 327-328
    Organisasjonsinnstillinger og terminologikonfigurasjon
  • docs/source/likeperson.md · line 241
    Admin Web Portal: admin-dashboard, admin-user-management, admin-organization, admin-security. admin-organization is always-on because it hosts the Feature Toggles UI itself
  • docs/source/likeperson.md · line 259
    Orgs can grant a Global Admin time-bounded support access via a flag in Organization Settings (e.g. "Allow Norse support access until {date}"); revoking the flag or hitting the expiry immediately removes access.

Responsibilities

  • Render and manage the organization settings form with sections for contact details, locale, and module configuration
  • Validate user input client-side before submitting to the service layer
  • Display current settings values fetched on page load
  • Show success and error states for save operations
  • Enforce role-based visibility so only Org Admins can access the page

Interfaces

loadSettings(): Promise<OrganizationSettings>
saveSettings(data: OrganizationSettingsInput): Promise<void>
onFieldChange(field: string, value: unknown): void
renderSupportAccessToggle(enabled: boolean): void

Related Data Entities (2)

Data entities managed by this component