Available on crate feature
rbac only.Expand description
Role-based access control for SeaORM (rbac feature).
Authorises connections at the SQL level: the RbacEngine reads
permissions out of dedicated database tables, attaches them to a
DatabaseConnection (producing a
RestrictedConnection), and then every
query / mutation is checked against the userâs roles before being sent
to the database.
See the Role Based Access Control blog post for an end-to-end walkthrough.
Re-exports§
Modules§
Structs§
Enums§
- Access
Type - Rbac
Error - An error from unsuccessful database operations
- Schema
Oper - Schema Operation
Constants§
- WILDCARD
- Wildcard token (
"*") accepted by RBAC tables to mean âany permissionâ or âany resourceâ.