Casbin Hierarchical RBAC Maintenance: Static Structure vs. Dynamic Roles
A common misconception about using Casbin Hierarchical RBAC is that the entire policy storage must be updated every time a user performs an action or changes state. This is incorrect. The system is designed to separate the static, structural hierarchy (which rarely changes) from the dynamic user assignments (which change frequently).
The efficiency of Hierarchical RBAC lies in this separation, minimizing the required policy updates and reducing redundancy.
