Someone approves a purchase request. Before it is ordered, another person changes the delivery address or replaces an attachment. Does the old approval still count?

Settle that question before commissioning an approval workflow, not after adding an Approve button. Define which details the decision covers, which changes require another review and how the application checks that the action still matches the approval.

OWASP's transaction-authorization guidance recommends showing users significant transaction data, enforcing authorization on the server and checking authorization at execution.[1] Its examples include sensitive financial transactions. The checklist below applies selected principles to a fictional purchase-request workflow. It is a planning aid, not a banking-security implementation or a claim of compliance.

Define who approves what request version

For each approval step, complete this sentence: this person may authorize this action on this version of this request, subject to these conditions.

In a fictional office-supplies application, a manager might approve an order for a named supplier, a specified item list and a particular delivery location. Include quantities, prices or an amount limit where they affect the decision. An internal note may not matter; a changed supplier probably should. Document those business rules rather than leaving them hidden in screen behavior.

Ask the developer to identify the authoritative request record and its revision. The confirmation screen should make the decision understandable, while the server should bind it to the relevant stored details. OWASP cautions against trusting client-supplied transaction data or allowing client parameters to disable authorization checks.[1]

A role answers who may approve. A request revision answers what they approved. Neither is a substitute for the other.

Agree which changes invalidate approval

Make a short field list before discussing implementation:

  • Decision-changing fields: supplier, item list, delivery destination and any quantities, prices or other information the approver needs to consider.
  • Supporting material: attachments or evidence that may affect the decision. Decide whether replacement requires a new review.
  • Administrative fields: tags or internal notes that can change without altering the authorized action, if your policy permits it.

Not every edit necessarily needs a complete restart. Agree a rule for each category and make its effect clear. For example, changing the approved item list could return the request to Awaiting approval, preserve the old decision as history and prevent ordering until a new decision exists.

OWASP describes invalidating prior authorization data or restarting authorization when transaction data changes.[1] Which fields matter in your business workflow needs an explicit decision; the example categories above are proposed requirements, not a universal security policy.

Use this fictional planning example as a starting point:

  • Action: place one office-supplies order.
  • Approval covers: supplier, items, quantities, agreed price or amount limit, and delivery destination.
  • Material edit: return to Awaiting approval and prevent ordering against the old decision.
  • Attachment replacement: require another review when the attachment is decision-supporting evidence.
  • Cancellation: prevent execution from the cancelled state.
  • Execution check: confirm that the current action has a valid approval covering its significant details.

This is a proposed agreement to discuss with a developer, not a description of a tested application.

Check authorization when the action executes

Keep approval and execution states distinct. For example, Draft, Awaiting approval, Approved, Execution pending and Executed can describe different steps; Rejected, Cancelled and Failed may also be useful. These are proposed names, not a required standard. Approved means a decision exists, not that an order was placed. A supplier timeout needs reconciliation rather than an unsupported success claim.

An approval recorded earlier is not the whole acceptance requirement. OWASP calls for a final control gate tied to execution and for enforcing allowed transaction-state transitions.[1]

Ask what happens if someone edits or cancels the request while another process is preparing the order. The developer should explain how the implementation prevents an action from using details that lack the required matching approval. A screen warning alone is not the server-side control described by OWASP.[1]

Keep this separate from duplicate-action handling. An order can match its approval yet still be sent twice; conversely, a single order can contain unapproved changes. Specify and test both requirements where relevant.

Run a change-after-approval acceptance worksheet

Ask the developer to run these cases in an isolated environment. All cases below are Not run; they are proposed checks, not security-test results.

Use synthetic records without triggering a real purchase or supplier connection. First establish a control case: approve a request and attempt the unchanged action. Proposed expectation: it proceeds only if every other required check passes. Record the request identity, approved revision, decision identity and final outcome. Actual result: Not run.

Case A: approved details change

Approve a request, then change its supplier, item list or another agreed decision-changing field. Proposed expectation: the old decision cannot authorize the changed action; the request follows the agreed reapproval rule. Record the original and current revisions, decision history and resulting action state. Actual result: Not run.

Case B: a stale approval screen is submitted

Open the approval screen, change significant request details elsewhere, then submit the original screen. Proposed expectation: the server does not silently approve details the person did not review. Record the server response and final stored state. Actual result: Not run.

Case C: supporting evidence is replaced

Approve a request with attachment A, then replace it with attachment B. Proposed expectation: follow the agreed attachment-change policy. Record which exact document was reviewed and why the current approval is valid or invalid. Actual result: Not run.

Case D: the request is cancelled

Approve a request, cancel it, then attempt execution. Proposed expectation: no execution from the cancelled state. Record the denied transition and unchanged external-action state. Actual result: Not run.

Case E: editing and execution overlap

Submit a significant edit while execution is being authorized. Proposed expectation: no action uses details lacking the required matching approval. Record controlled timing, the resulting revision and decision/action records. Ask the developer to explain and test the implementation's concurrency protection. Actual result: Not run.

Case F: an administrative field changes

Change a field explicitly classified as non-decision-changing. Proposed expectation: apply the documented policy without silently changing the approved action. Record why approval remains valid or requires renewal. Actual result: Not run.

Keep an Actual result column when transferring these cases into your acceptance worksheet. Not run must not become Passed because the expected behavior sounds reasonable. Record the application build, environment, roles and execution conditions when the drill is performed.

Request a usable workflow handover

Before sign-off, ask for the field-invalidation rules, allowed state transitions and evidence from the isolated drill. Name the person who resolves a stuck request and document what an operator may do without bypassing approval.

Keep decision history proportionate. The audit-log planning guide addresses events, access and retention; this worksheet is not permission to store every sensitive field indefinitely.

For a small first version, consider one clearly defined approval step for one action. Add stages only when their decision and responsibility are clear. More clicks do not prove that the final action matches the approved request.

If you are planning an application, write down one action that needs approval, the fields that would change that decision and the evidence you want before sign-off. CodeDrawn Digital's project brief helper can help prepare the context and request an email draft. It does not confirm that an email app opened, a message was sent or an inquiry was received.

Sources

[1] OWASP Transaction Authorization Cheat Sheet — https://cheatsheetseries.owasp.org/cheatsheets/Transaction_Authorization_Cheat_Sheet.html