Bounded Context: Authorization (Ums.Domain.Authorization)
Aggregate Roots: SystemSuite, Role, PermissionTemplate, Profile
The suite structures govern the navigational and action menus of the system:
- SystemSuite (Aggregate Root) — Top-level system applications (e.g. Admin Portal, Branch Portal).
- Module (Owned Entity) — Modular functional sections within a suite.
- Menu (Owned Entity) — Graphical menu interfaces.
- SubMenu (Owned Entity) — Nested submenu blocks.
- Option (Owned Entity) — Specific screen/view configuration anchors.
- Action (Owned Entity) — Fine-grained action tokens (e.g., READ, WRITE, EXPORT) to secure individual behaviors.
- Role (Aggregate Root) - Tenant-scoped responsibility catalog and optional hierarchy defined by a system suite.
- PermissionTemplate (Aggregate Root) — Reusable, standardized permission packs.
- PermissionTemplateItem (Owned Entity) — Specific action mappings defined within a template.
- Profile (Aggregate Root) — Roles assigned to users scoped by context (GLOBAL, TENANT, or BRANCH).
- ProfilePermission (Owned Entity) — Specific allowed actions mapped to a profile.