Hierarchy Manager Page
Component Detail
User Interface
medium complexity
frontend
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Admin-facing screen for visualizing and editing the organizational tree. Lets Org Admins create nodes, set parent-child relationships, and assign users and activities to the correct level.
hierarchy-manager-page
Sources & reasoning
Required by NHF's stated structure (§69) and listed as an Admin Portal core capability (§143). Placed in Core Product because the MVP admin scope (§244-247) lists user management and org settings but not hierarchy, and NHF is the org most needing it after MVP launch.
-
docs/source/likeperson.md · line 69Bredest organisasjonsstruktur: 12 landsforeninger, 9 regioner, 1 400 lokallag - aktivitetsfordeling mellom ledd må støttes.
-
docs/source/likeperson.md · line 143Multi-organization hierarchy management
Responsibilities
- Render the org hierarchy as an expandable tree view
- Support create, rename, move, and delete operations on org nodes
- Allow assignment of users and activities to a selected node
- Surface validation errors (e.g. cycles, double-reporting conflicts)
- Scope visible subtree to the current admin's permissions
Interfaces
loadHierarchy(rootOrgId): HierarchyTree
createNode(parentId, nodeData): OrgNode
moveNode(nodeId, newParentId): void
assignUserToNode(userId, nodeId): void
Related Data Entities (2)
Data entities managed by this component