Expand description
Generic authorization.
The Engine provides the mechanism: operations, actor references, and an injectable policy. It does not bake in Unix mode bits, UID/GID numbers, or any OS-specific security model. The OS installs a policy that gives its permission representation meaning.
Re-exports§
pub use crate::security::actor::ActorId;
Structs§
- Authorization
Data - Opaque authorization data attached to an object.
- Authorization
Request - A request to authorize an operation.
- Parent
Reference - The context of an object’s parent, for policies that decide operations against the parent directory (for example Unix move/delete rules).
- Permissive
Policy - A policy that allows everything.
Enums§
- Authorization
Result - The result of an authorization decision.
- Operation
- An operation an actor may attempt on an object.
Traits§
- Authorization
Policy - A policy that decides whether operations are allowed.