use-authz
Authorization, permissions, roles, scopes, claims, and access-control primitives for RustUse.
Experimental
use-authz is experimental while the use-security workspace remains below 0.3.0. Expect small API adjustments during the first release wave.
Example
use ;
let permission = new?;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Scope
- Authorization model, decision, and policy-effect labels.
- Validated permission, role, scope, claim, subject, resource, and action names.
- ASCII-safe metadata primitives for local application code.
Non-goals
- Policy engines.
- Real access decisions.
- Role storage, identity providers, or authorization servers.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license