OverviewHow to OnboardUse Case DiagramSequence DiagramClass DiagramComponent DiagramDeployment Diagram

Use Case Diagram — RBAC Role Capabilities

Mermaid has no native UML use-case notation, so actors and use cases are emulated as a flowchart: actor nodes on the left, use-case ellipses on the right, dotted 'inherits' edges mirroring the role hierarchy (Employee → Manager → HR Manager → Admin) enforced across the app.

Notes

  • Role inheritance means a Manager can do everything an Employee can, an HR Manager everything a Manager can, and an Admin everything an HR Manager can.
  • Actual enforcement happens both at the UI level (role-specific sidebar navigation) and the API level (getServerSession checks in each route handler).