Add organizations module surface

This commit is contained in:
2026-07-10 17:33:53 +02:00
parent 34133ba9cd
commit ad2561b50f
22 changed files with 3284 additions and 35 deletions

View File

@@ -3,29 +3,35 @@
`govoplan-organizations` is the canonical organizational model module for
GovOPlaN.
It owns organization units, organizational hierarchy, functions, and
account-held function assignments. These facts exist independently of
authentication and authorization. IDM can import them, Identity can link them
to people/accounts, and Access can project them into roles and rights.
It owns organization unit types, organization structures, concrete units,
functions, and identity-held function assignments. These facts exist
independently of authentication and authorization. Identity links people to
accounts, and Access projects organization facts into roles and rights.
## Boundary
Organizations owns:
- tenant-local organization units
- parent/child organizational hierarchy
- tenant-local organization unit types
- tenant-local concrete organization units
- parallel organization structures and relation types
- functions in organization units
- whether a function may be delegated or used for acting in place
- account-held function assignments
- identity-held function assignments, optionally constrained to one account
- whether an assignment applies only to one unit or also to subunits
Organizations does not own:
- login accounts or identity lifecycle
- login accounts, identity lifecycle, or account linking
- role and permission evaluation
- postboxes, workflows, portals, files, or cases
- external IDM connector internals
The WebUI exposed by this repository is a normal module UI at
`/organizations`. Admin-only controls are contributed by this module through the
platform `admin.sections` WebUI capability, so the admin shell can show them
when the organizations module is active.
## Module Contract
The module registers the `organizations.directory` capability from