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§
- Approval
Condition - Flat condition struct — all specified fields must be true (AND semantics). Unspecified fields (None) are wildcards.
- Approval
Decision - Result of evaluating approval policy.
- Approval
Policy - Top-level approval policy configuration.
- Approval
Rule - A named condition rule with an action.
- Eval
Context - Runtime context for evaluating approval conditions.
Enums§
- Approval
Action - What action to take when a rule matches.
- Step
Policy - 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 todefault_policy()if the file does not exist.