[][src]Crate allow_me

Re-exports

pub use crate::matcher::ResourceMatcher;

Modules

matcher

Structs

DefaultSubstituter

Default implementation of Substituter. It supports several useful variables:

DefaultValidator

Provides basic validation that policy definition elements are not empty.

Policy

Policy engine. Represents a read-only set of rules and can evaluate Request based on those rules.

PolicyBuilder

A policy builder, responsible for parsing policy definition and constructing Policy struct.

PolicyDefinition

Represents a deserialized policy definition.

Request

Represents a request that needs to be evaluated by Policy engine.

Statement

Represents a statement in a policy definition.

VariableIter

A simple iterator that returns all occurrences of variable substrings like {{var_name}} in the provided string value.

Enums

Decision

Represents a decision on the Request to the Policy engine.

Effect

Represents an effect on a statement.

Error

Traits

PolicyValidator

Trait to extend PolicyBuilder validation for policy definition.

Substituter

Trait to extend Policy variable rules resolution.

Type Definitions

Result

A specialized Result type for policy engine operations.