Supported access control models in Casbin.NET
masterCasbin.NET supports a wide variety of access control models:
- ACL (Access Control List)
- ACL with superuser
- ACL without users (useful for systems without authentication)
- ACL without resources (targeting resource types instead of specific instances)
- RBAC (Role-Based Access Control)
- RBAC with resource roles (both users and resources can have roles)
- RBAC with domains/tenants (role sets vary by domain)
- ABAC (Attribute-Based Access Control) (supports attribute syntax like
resource.Owner) - RESTful (supports path patterns like
/res/*and HTTP methods) - Deny-override (deny permissions override allow permissions)
- Priority (rules can be prioritized like firewall rules)