MGCWardenTAApprovalPriv
Approve, reject, delegate or resubmit a gated trade agreement price journal work item. It is the approval half of a separated pair: MGCWardenTASubmitPriv "grants NO approval rights: it can start a Trade agreement approval, and it can never decide one (that is MGCWardenTAApprovalApprove, reached through the work item), so the submitter cannot approve their own journal". This privilege grants that decision. Deciding writes the approval record the post-time price guard later re-checks, clears the journal's governance hold and writes the event log. TWO DISPLAY MENU ITEMS CARRY READ, AND THEY PLAY DIFFERENT PARTS. MGCWardenTAGatedJournals is the approval element's DocumentMenuItem: it is rooted on MGCWardenTAGateState, so it hosts the workflow action bar that draws Resubmit, and it opens on the routed row. MGCWardenTAPricePanel is a linked FactBox on it, and its grant matters: is the price comparison (every journal line beside the price in force today, sourced from posted agreement history, with the difference and a per-line verdict), which is the factual basis of the decision. Without that grant the pane is empty while the document link still works. THE PRIVILEGE CANNOT CREATE WHAT IT DECIDES: gating and routing come from MGCWardenTASubmitPriv (held by the journal's author, on MGCWardenTASubmitDuty) and from the post-time guard, neither of which is granted here; and the supersession sweep is MGCWardenTAGovSweepPriv, which does not route. Because of that pairing, the duty this privilege ships on must never land on a role that holds MGCWardenTASubmitDuty: see MGCWardenTAApprovalDuty, which explains why its reachability floor is not the controls owner. Shipped on MGCWardenTAApprovalDuty.
- Object type: Privilege
Grants
| Object type | Object | Access |
|---|---|---|
| MenuItemAction | MGCWardenTAApprovalApprove | Update |
| MenuItemAction | MGCWardenTAApprovalReject | Update |
| MenuItemAction | MGCWardenTAApprovalDelegate | Update |
| MenuItemAction | MGCWardenTAApprovalResubmit | Update |
| MenuItemDisplay | MGCWardenTAPricePanel | Read |
| MenuItemDisplay | MGCWardenTAGatedJournals | Read |
| ServiceOperation | MGCWardenWorkItemService.approve | Invoke |
| ServiceOperation | MGCWardenWorkItemService.reject | Invoke |
| ServiceOperation | MGCWardenWorkItemService.delegate | Invoke |
| ServiceOperation | MGCWardenWorkItemService.resubmit | Invoke |