Skip to main content

Module authorization

Module authorization 

Source
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§

AuthorizationData
Opaque authorization data attached to an object.
AuthorizationRequest
A request to authorize an operation.
ParentReference
The context of an object’s parent, for policies that decide operations against the parent directory (for example Unix move/delete rules).
PermissivePolicy
A policy that allows everything.

Enums§

AuthorizationResult
The result of an authorization decision.
Operation
An operation an actor may attempt on an object.

Traits§

AuthorizationPolicy
A policy that decides whether operations are allowed.