Skip to main content

Module gate

Module gate 

Source
Expand description

Gate backend abstraction for permission decisions.

GateBackend provides a unified interface for making access control decisions. The default implementation wraps CapabilityChecker (binary Permit/Deny). When the tilezero feature is enabled, TileZeroGate adds three-way decisions (Permit/Defer/Deny) with cryptographic receipts logged to the chain.

Structs§

CapabilityGate
Gate backend wrapping the existing CapabilityChecker.
GovernanceGate
Gate backend wrapping the GovernanceEngine.
TileZeroGate
Gate backend wrapping cognitum_gate_tilezero::TileZero.

Enums§

GateDecision
Result of a gate decision.

Traits§

GateBackend
Trait for gate backends that make access-control decisions.