Reference & Data Model
Organization (organization)
The organization is the tenant: all business data, members and settings belong to exactly one organization and are completely separated from others.
Purpose
Section titled “Purpose”The Organization is the top-level data space in Aligia (data type: identity). Every row of every business table carries the identifier of its organization; the database enforces that an access only ever sees its own organization. A user account belongs to exactly one organization – inviting an e-mail address that is already a member of any organization is rejected (message „This email already belongs to an organization …“).
Where in the app
Section titled “Where in the app”Sign-in service (reachable via Einstellungen › Account › „Im Anmeldedienst öffnen“ (Settings › Account › Open in sign-in service)), area „Organisation“ › page „Organisation“: shows the organization’s name, number of members and – for Owner/Admin – the pending invitations. In the app the organization name appears in the account card of the sidebar. See Guides › Access & invitation.
Fields
Section titled “Fields”| Field | Technical | Type | Required | Meaning | Notes |
|---|---|---|---|---|---|
| Name | name |
Text | yes | Display name of the organization | Assigned on creation; no edit dialog in the interface |
| Members | member |
Reference | – | User accounts with role | See Roles |
| Pending invitations | invitation |
Reference | – | Outstanding access | Only Owner/Admin see them |
Creation and Owner
Section titled “Creation and Owner”- Owner is whoever created the organization. On creation they automatically become a member with the Owner role and receive a user account and an employee record (first name/last name from the display name, otherwise from the e-mail prefix).
- How an organization comes into being depends on the configuration: either the operator creates it (provisioning) or a user creates it themselves, provided self-registration is not set to “private”. A user account without a valid invitation cannot sign in (no open signup).
- There is no transfer of the Owner role in the interface.
Relations
Section titled “Relations”| Related to | Kind | Required | On archive | On delete |
|---|---|---|---|---|
Membership (member) |
has many | at least the Owner | – | – |
Invitation (invitation) |
has many | no | – | Invitations are canceled, not deleted |
| All business data | has many | – | – | Organizations are not deleted in the interface |
Rules & automation
Section titled “Rules & automation”See also
Section titled “See also”User account · Roles · Technical accounts · Guides › Role vs. permission