Summary
Implement approval workflow support on top of MutationRequest so governance can defer execution until required approvals are explicitly resolved.
Goal
Turn PolicyRequirement and pending mutation requests into real approval process instead of leaving approval as modeled concept without execution flow.
Scope
What should be implemented?
Acceptance Criteria
Notes
Implemented through:
MutationRequest.PendingApproval(...)
- request level
ApprovalRequirements
MutationApprovalRequirement and MutationApprovalRequirementStatus
MutationRequestApprovalWorkflowManager
ApprovalGranted, ApprovalRejected, and terminal Approved / Rejected request decisions
- multi step and multi actor approval mapping from
PolicyRequirement
- governance regression coverage in
MutationRequestApprovalWorkflowTests
- runnable sample in
Examples/Governance/ApprovalWorkflow
Approval now builds on the pending lifecycle instead of introducing parallel approval only request model.
Summary
Implement approval workflow support on top of
MutationRequestso governance can defer execution until required approvals are explicitly resolved.Goal
Turn
PolicyRequirementand pending mutation requests into real approval process instead of leaving approval as modeled concept without execution flow.Scope
What should be implemented?
PendingMutationReason.ApprovalPolicyRequirementinto request level approval requirementsMutationRequestDecisionAcceptance Criteria
ModularityKit.Mutator.GovernanceNotes
Implemented through:
MutationRequest.PendingApproval(...)ApprovalRequirementsMutationApprovalRequirementandMutationApprovalRequirementStatusMutationRequestApprovalWorkflowManagerApprovalGranted,ApprovalRejected, and terminalApproved/Rejectedrequest decisionsPolicyRequirementMutationRequestApprovalWorkflowTestsExamples/Governance/ApprovalWorkflowApproval now builds on the pending lifecycle instead of introducing parallel approval only request model.