Skip to main content

Module approval

Module approval 

Source
Expand description

Approval policy engine — determines what actions require human approval.

Separate from the RBAC policy in policy.rs. This module answers “does action Y in context Z need human approval?” rather than “can actor X do action Y?”.

Structs§

ApprovalCondition
Flat condition struct — all specified fields must be true (AND semantics). Unspecified fields (None) are wildcards.
ApprovalDecision
Result of evaluating approval policy.
ApprovalPolicy
Top-level approval policy configuration.
ApprovalRule
A named condition rule with an action.
EvalContext
Runtime context for evaluating approval conditions.

Enums§

ApprovalAction
What action to take when a rule matches.
StepPolicy
How a specific pipeline step is handled.

Functions§

generate_template
Generate a template approval-policy.yaml file.
load_approval_policy
Load approval policy from .edda/approval-policy.yaml. Falls back to default_policy() if the file does not exist.