[−][src]Crate actix_web_grants
A crate for validate user permissions in actix-web
.
For built-in configure see: GrantsMiddleware
.
To check user access to specific services, you can use: proc-macro
and PermissionGuard
or manual.
The library can also be integrated with third-party solutions (like httpauth
), see permissions
module.
You can find more examples
in the git repository.
Modules
permissions | A set of traits and structures for custom integration. |
proc_macro | Procedural macros for checking user permissions or roles. |
Structs
GrantsMiddleware | Built-in middleware for extracting user permission. |
PermissionGuard | Implementation of Guard trait for validate permissions |