Expand description
Per-level capability types for fine-grained agent permission control.
A Capability represents a discrete action category that policy can allow
or deny. A CapabilitySet aggregates allow and deny sets for a given scope.
Structs§
- Capability
Set - Aggregates allow and deny capability sets for a given policy scope.
- Effective
Permissions - Effective capability set for a single agent, with cascade provenance.
- Permission
Source - Per-scope contribution to an effective permission set.
Enums§
- Capability
- A discrete action category that policy can allow or deny for an agent.
Functions§
- action_
to_ capability - Map a
crate::GovernanceActionto theCapabilityit exercises, orNoneif the action does not map to a known capability. - merge_
capabilities - Merge a parent
CapabilitySetwith a childCapabilitySetusing parent-deny-wins semantics.