RBAC vs. RBAC96
Casbin RBAC และ RBAC96
This page compares Casbin’s RBAC with the RBAC96 model. Casbin supports the main RBAC96 ideas and adds domains and flexible permissions.
| RBAC96 | Casbin support | Notes |
|---|---|---|
| RBAC0 | ✅ Full | Users, roles, permissions and their relationships. |
| RBAC1 | ✅ Full | Role hierarchy (e.g. alice→role1→role2). |
| RBAC2 | ⚠️ Partial | Constraint-style handling (e.g. deny-override) via policy effect. No quantitative limits. |
| RBAC3 | ⚠️ Partial | RBAC1 + RBAC2; constraints as above, no quantitative limits. |