Warden - User guide
Transaction approval, change control and activity/read auditing for Dynamics 365 F&O - one product, two halves. Order Guard (Packages A - C): classify every field change, tolerate drift within bands, re-approve only the delta, govern orders, journals and counts - without ever letting a Warden defect stop the business. Auditor (Packages D - E): opt-in read capture into an append-only, hash-chained store, rendered into regulator-shaped evidence packs. New here? Start with Getting started.
Also in this folder: Form reference - click path and how-to for every screen · Purchase order change and delta re-approval - what Warden changes about a standard process, and what it leaves alone.
This guide is organized by role. If you know the screen but not the role, go to Form reference instead.
See also: Find your role - task pages by role, each starting from a goal, with steps · All walkthroughs - stories that follow one organization through a real problem · All batch processes - one page per batch job · Configuration reference - every setting and what it does.
Contents
- Concepts
- The blocking doctrine, in plain words
- Policy author
- Controls owner
- Approver
- Sales & journal governance users
- Count supervisor
- Exception processor
- Break-glass holder
- Audit administrator
- Auditor / compliance officer
- Security summary
1. Concepts
Order Guard (A - C):
-
Guard control policy - document family × scope × gated event × posture (blocking or log-only), with effective-dated versions. One active version per policy; activation is workflow-approved. Package B adds sales, journal and price-guard policy surfaces; Package C adds count policies - all registered onto the same platform (holds, exceptions, event log), never a second engine.
-
Scope grammar - the native Table/Group/All pattern (item × account, warehouse × item…). Most specific selector wins; documents outside every scope line see zero Warden behavior.
-
Field change matrix - per policy, each governed field carries a class:
Class Behavior on edit Log-only Edit proceeds; old→new recorded. Nothing routes. Tolerance Edit proceeds while cumulative drift from the last approved baseline stays inside the band. Crossing routes for delta approval. Re-approve-delta Any edit writes a diff set, places a hold, routes a work item. Block The edit is refused outright; the attempt is logged. -
Diff set - the persisted old→new record of one edit episode, version-stamped, append-only, evidence-grade retention. The consolidated diff panel renders it for approvers.
-
Baseline & drift - tolerance measures against the last approved value; approval re-baselines only the approved field classes. Salami-slicing is closed in both directions.
-
Governance hold - sits alongside the native status (never rewrites it) and gates confirm / print / send / post / firm until an approval outcome or break-glass releases it. Hold types: Delta, Excluded-class, Firming, Sales governance, Trade agreement, Journal governance, Journal banded review.
-
Signing limit - approval limit per user × document type, checked at approval action time, not at routing time, on both the in-client Approve and the API (live ). It applies to the families whose routed amount can be established - purchase order delta re-approval and firming, sales governance, governed journal reversals - and skips with a logged reason for families that commit no value (trade agreements, policy/register activation, purge proposals). No limit row for you means no constraint (logged as such); a row of 0 means you may approve nothing. Spending limits are stored but read by nothing.
-
Count review case - wraps every over-limit or rejected count; must reach a terminal outcome (accept / recount / quarantine / write-off). The native discard-on-reject dead end is gone.
-
Governance event log - the per-document timeline, append-only, including ungoverned-action attestations; the Package D ingestion source.
-
Electronic signature manifestations - every signature actually executed at a governed stage, with the three things 21 CFR §11.50 requires side by side: printed name of the signer, date and time of signing, and the meaning statement they were shown before signing. Read-only, and reachable without commissioning an evidence pack - the pack and the DMF export (Warden electronic signature manifestations) additionally carry the signature value and the signed document, which are what let an inspector verify a manifestation independently. Nothing on this form, on the entity, or in data management can edit or delete a manifestation.
Auditor (D - E):
-
Sensitivity Register - the only gate for capture: object × sensor grain, plus a retention class and a list of sensitive columns. Empty register = zero capture. Entries are workflow-activated (author ≠ activator) and state their coverage boundaries verbatim. The sensitive-column list is not part of the gate. It is an output selector - it names the columns that will be recorded as exposed once a field-level grain is capturing. Listing columns does not narrow capture to those columns, and an entry with no columns is not narrower or wider than one with ten: at every live grain the whole object is captured either way, and the store row holds actor, object, record key, company and time - no field values at all. Since field-level capture ships dark, column lists take effect on nothing today. The register form and a save-time warning both say so, so nobody scopes an entry to three columns and believes the other forty stopped being captured.
-
Sensor grains - Form Access (the keystone; detail-form opens), Entity/OData and Report (one event per request/run, never per-row fan-out), Deep Record (ships dark). Two of the four grains are backed by a real sensor: Form Access and Report.
- Form Access - chain of command on
FormRun.run(MGCWardenAuditFormSensor_Extension). - Report - chain of command on
SrsReportRunController.runReport(MGCWardenAuditReportSensor_Extension). Covers reports launched from a controller class, from a controller-less output menu item, from print management (invoices, packing slips, confirmations) and from batch, because all four paths converge onrunReport(). A report printed to screen passesrunReport()twice; the store's dedup collapses that into one event with an occurrence count of 2. Boundary: the event records who ran which report, when, plus the record the report was launched from where there was one (print invoice from a sales order). It does not record which records the report returned, and query ranges are deliberately not captured because the store is documented as holding no field values. Reports re-executed by the SSRS server itself, and Electronic Reporting output, create no X++ controller and are not captured. - Entity/OData - no sensor, and not fixable in this build.
recordEntityRequestis complete and callable but has no caller and cannot get one: OData GET is handled entirely in managed .NET (Microsoft.Dynamics.Platform.Integration.Services.OData.dll) with no X++ seam, class or delegate anywhere. The only per-record read hook,postLoad(), can only be attached to entities that already declare it (~8% of them) - Microsoft's own read-audit feature had to ship emptypostLoad()stubs into base tables to work around this, which an extension model cannot do. DMF export does offer job-level hooks, but they carry no record identity and cover DMF only, so wiring them alone was rejected: an empty result would read as "nobody exported this" when it actually means "we cannot see OData". So a user who exports a registered object over OData leaves no audit trail, whatever the register says. Saving an Entity-grain entry now raises a warning that says exactly this, and the shipped catalog no longer suggests the tier. - Deep Record - ships dark.
Capture is gated on the object name, not on the declared grain, so an entry left at an unbacked grain still records form access to that object rather than nothing at all.
- Form Access - chain of command on
-
The store - append-only, cross-company, per-partition sequence-numbered audit events with occurrence-count dedup. No update/delete API exists. Honest claim: SysAdmin cannot be role-blocked on this platform; the guarantee is code-enforced denial plus hash-chain anchors that make tampering detectable.
-
Dual-control purge - Audit administrator proposes (beyond retention only, structurally), Controls owner approves, a permanent certificate is written before any deletion. Live. Propose from the purge workbench, or schedule
MGCWardenAuditPurgeProposalGenerator; a scheduled proposal must still name an accountable human, so dual control is not weakened by automation. The cutoff derives from the shortest configured retention class, and every row is then held to its own class, stamped when it was captured, so a short-retention class purges on its own horizon. A row with no class (captured before the stamp existed, or written by Warden about itself) is held to the longest class. Who the certificate names as approver: the user the approval workflow history records taking the Approve action. An approval that no person took (completed by escalation, by an automatic action or by the approval step's time limit) certifies nothing: the purge is refused, nothing is deleted, and the proposal stays Proposed so it can be submitted again and decided by a person. Approving does not delete: it marks the proposal Approved, awaiting execution, and the Execute approved audit purges batch job exports, certifies and deletes later, re-checking the approver first against Warden's own record of the approval (Approved by and the Purge approved governance event) rather than the workflow history, so workflow history cleanup does not stop an approved purge. Every approver on the route is recorded on the proposal when the approval completes, and the batch checks each of them again (decision 38); the governance row and the certificate of an executed purge state the retention floor it ran under, beside the one the proposal was raised under (decision 39). Do not configure the purge approval step to escalate to completion; it will never purge. Certificates minted by earlier builds name the account the workflow runtime ran under, which approved nothing. They are permanent and were not rewritten; the evidence pack checks each certificate against the workflow history and says whether the history confirms the name. -
Evidence pack - a period-scoped binder per regulator shape (India MCA, SOX ITGC, 21 CFR Part 11, workflow-config export) with a mandatory coverage statement and a mandatory control-downtime section that cannot be toggled off. The SOX ITGC pack also lists the audit purges approved and not yet executed (ApprovedPurges: approver, approval date, partition and scope, and when the execution batch will run them) and the legal entity's leaver deprovisioning queue from both sources, the HR deprovisioning scan and the leaver intake (DeprovisioningQueue: entries proposed or decided in the period with who decided and when, open and overdue entries, and leaver records that raised no entry). Both report open items as they stand when the pack is built, and say so.
2. The blocking doctrine, in plain words
- Policy-intended gates block, and four seams fail closed by decision. Policy-intended gates block. The four named seams fail closed on an internal error (
PurchLine_Extension,PurchTable_Extension,WHSWorkLineCycleCount_ExtensionandWHSWorkExecute_Extension), because failing open there would let ungoverned stock or postings through. In plain words: if Warden fails internally while it governs a purchase order line or header edit, or a warehouse cycle count, that action is refused, not let through ungoverned. That is the decision working, not a defect. On the two warehouse seams this is the unforeseeable failure; the failures Warden can foresee there stand the control down and are recorded instead (see Count supervisor). - Elsewhere, a Warden failure is meant to pass through. If Warden breaks mid-evaluation, the save, confirmation, posting or capture is designed to proceed as if Warden were not installed. The failure is captured as a retryable execution exception and alerted. For the Auditor half the same rule governs capture: a sensor can never slow or block a user session - overflow drops (counted, alerted), it never queues into the user's transaction. Policy-intended refusals - Block-class fields, confirmation on a held order, posted journal deletion, a gated TA posting - are deliberate configuration outcomes, not failures.
- Fail-open is never silent-open. Every pass-through writes an immutable ungoverned-action row, exempt from purge, forwarded to the audit store, and reported in every SOX/MCA pack's control-downtime section. You can always prove exactly when governance was and wasn't in force.
- The license never switches a control off. Decided 2026-10-06: "a lapsed license warns and never stops a control". What does stop, on production only, is administrative work: from the block date the licensing service sets, policy setup cannot be changed (New version, saving, deleting or importing a policy or audit register version, Submit for activation) and no new evidence pack is built; a scheduled pack leaves a Skipped run saying why. Holds, approvals and audit capture carry on, a version already approved still takes effect on its date, Request retirement still works, and packs already built can still be read and exported. Other environment types only warn (decided 2026-11-01). A lapsed license, or one Warden cannot verify (no answer from the licensing service and no Entitlement expiry on Warden guard parameters), shows as one row on Warden setup gaps and as a warning when an administrator opens a Warden parameters page. No gate, hold, approval or evidence write is skipped or refused because of it: a governance control that turned itself off when a license expired would be a fail-open nobody chose. An environment that runs with no license source on purpose ticks No license source on Warden guard parameters: the cannot verify row and warning then stay away, the change is recorded in the audit store, and a lapse reported by the licensing service or by Entitlement expiry still shows. Ticked where the licensing service is installed, it raises a setup-gap row of its own, because there it hides the row that says the licensing service has stopped answering.
3. Policy author
Role: Warden Guard Administrator. You design controls; you cannot activate them.
Task pages for this role: Policy author.
Compose a policy (System administration → Setup → Guard control policies): header (family, gated event, posture, effective dates, workflow hook) → scope lines (Table/Group/All, start narrow) → field change matrix (classify only what you care about; give tolerance fields a band) → Simulate (persisted would-have-blocked / would-have-routed / would-have-logged evidence for the activator) → Submit for activation.
Field group scoping is live. A matrix row may name a field, a field group, or both, and it governs all of them - leave Field blank to scope the row purely by group. Group membership is read from live metadata at the moment a change is classified, so a field added to a governed group by a later deployment is governed immediately, with no re-activation; the flip side, stated plainly, is that a deployment can widen or narrow a live policy's coverage without a policy version bump. Two rules settle overlaps: a row that names the field outright wins over any group row (even a weaker one - singling a field out is a deliberate statement), and where a field sits in two scoped groups the stronger class wins (Block > Re-approve delta > Tolerance > Log only). A group name that does not exist, or that contains no stored fields, governs nothing rather than everything, and is reported on the setup gaps list naming the group and the table. (The simulation's Blocked count was on this list; it is real.)
Reading a simulation. The three counts are disjoint - every in-scope document lands in exactly one, under the strongest gate the policy applies to it, the same precedence the interceptor uses. Blocked and Routed are not two words for the same thing, and the difference is the reason to simulate at all: blocked means a Block-class field is in your matrix, so the user's save is refused - no hold, no work item, nothing to approve, they simply cannot make the edit; routed means the edit stands and the document is held pending approval - the user is delayed. A blocking policy whose matrix classifies nothing above log only gates nothing, and now says so instead of reporting phantom routes. Each drill row's Detail names the matrix line that produced its verdict, and the run's Basis field states the limits of the run in words: it is still scope coverage, not replayed edits, so per-edit tolerance-band crossings are not yet decided.
A firming policy is simulated against planned orders. A Planned order firming policy governs the purchase order firming creates, so its simulation reads the planned purchase orders of the static master plan whose order date falls in the window, not purchase orders. Each is valued at the purchase trade agreement price for its own vendor times its quantity, converted at the day's rate, on the day you run it: an estimate. A planned order at or over the threshold counts as routed; one under it is not counted. A planned order with no agreement price for its vendor is listed as Not measured: no trade agreement price and not counted, unless the policy is log-only (logged) or Blocking with a threshold of zero (routed). Planned orders are counted one by one, while firming can put several into one purchase order and holds the whole order, so a run can show none held where firming would hold the group.
Which orders are yours. A simulation counts only the orders your version would govern if it were active. Each order is resolved the way Warden resolves it live, with your version standing in for the active version of its own policy code - so simulating version 2 of a live policy counts the orders version 1 governs today. Where another policy code's version would win an order your scope covers - a more specific scope, or a lower priority number at equal specificity - the order is not counted. It appears in the drill rows as Governed by another policy, naming the policy that wins it and the scope line it wins with, and the run counts it apart, under In scope, governed by another policy; the message you see when the simulation completes states that figure too.
Ties. Where your version and another policy code cover an order with equally specific lines at the same priority, neither wins: Warden would be left to database order, so Submit for activation refuses a version that ties. The simulation reports such an order as a tie, not as governed by another policy: its drill row reads Ties with another policy (Submit refuses), names the other policy, and is counted under In scope, tied with another policy. Whenever the tie rule Submit uses finds that your version ties, the completion message ends with the refusal Submit will give, naming the other version and the scope you share, and the run keeps it under Tie with another policy. That can happen with no tied order in the window - Submit checks every scope line, including lines that a more specific line beats on every order. Make one of the two more specific, or give it a different priority, before you submit.
Which day. A version is simulated against the policies in force on the day it would take effect: its Effective from date, or today when that is blank or already past (a blank date becomes the day it is approved). So a version dated for next quarter is resolved against what will be in force then - a version another author has already had approved for an earlier date competes, and one that will have ended by then does not. The completion message names the day and why, the run keeps it under Resolved against policies in force on, and every drill row that names another policy says which day it was in force on. The degrade-to-warn switches are read as they are set today; they carry no date.
Dates already passed. Submit for activation also refuses a version whose Effective to date is already in the past, on every dated policy form and on the API: it would govern no day, and its approval would be refused when the workflow completed anyway. Correct the date (today or later, or blank) and submit again. Simulate refuses such a version too, and says why: there is no day it would govern to simulate.
Effective to before Effective from. A version whose Effective to falls before its own Effective from governs no day either. Saving it is refused, on every dated policy form and on import, and so are Submit for activation and Simulate, even when the Effective to is still in the future. Set Effective to on or after Effective from, or leave it blank. A version that already holds such dates and is Active or waiting for approval is not refused when you save it, because its dates cannot be edited; an approval still waiting for it is refused when the workflow completes.
The same authoring discipline applies to the Package B surfaces (Sales governance policies - thresholds per measure, duplicate detection, price lock; Journal governance policies - line-cost bands, attachment-mandatory, posted-immutability, reversal; Price guard policies - floor price / minimum markup on cost; Signing limits) and Package C (Count governance policies - auto-accept thresholds, of which "both bands must pass. To use one band alone, set the other wide", and which today decide only what a Strict review policy sends to review on the device; recount loop cap, MISSING location and SLA (14 days on a new policy), consolidation window/journal). All are versioned with the same one-active-per-code rule and Active-version coverage locks; New version clones to a draft.
One field is authored but not yet honored, down from several. Configuring it is harmless but changes nothing, so do not count it as a control: on Signing limits, the Spending limit type is never read - the Approval type is live.
Price lock on a sales governance policy **was on this list and is live **: a unit-price change on a committed sales order is now detected, writes a diff set and sets Reconfirmation required. It watches the unit price only - not quantity, discount, delivery date, or line inserts and deletes. Line-cost bands and attachment-mandatory on a journal governance policy were on this list and are **live **. Each is called out in the persona section that owns it. The Workflow hook field on a journal governance policy was another and has been removed rather than left to be relied on - the journal workflows activate their own type, so the field never routed anything; the identically named field on a guard policy is read and stays. Removing it drops a column, so a database synchronization is needed and any value typed into it is gone. Everything else on these surfaces is read by the evaluation code.
Watch the Warden setup gaps inquiry: blocking policies without a workflow hook, without scope,
without matrix lines, or with unclassified high-risk fields. A row coded LICENSING is about the
license, not a control, and says what to do; nothing is blocked while it shows (§2, point 4). A row coded
IDENTITYVAULT lists user IDs, personnel numbers or device-user mapping values written like a subject
reference (WP- and twelve characters). Warden cannot record acts by or about a user whose ID
is listed until that person has a new user account with a correctly formed ID; a listed personnel number or
mapping value is recorded as received, not pseudonymized, until it is changed.
4. Controls owner
Role: Warden Controls Owner. You approve what goes into force, own the exception queue - and you are the second signatory on audit purges.
Task pages for this role: Controls owner.
- Approve policy activations against the persisted simulation evidence. An unsimulated blocking policy is a legitimate rejection.
- Approve purge proposals (Package D). By design, "Audit Admin proposes, Controls Owner approves, certificate precedes deletion; beyond-retention scope structurally enforced". Warden, not the workflow, refuses you if you are the proposal's named proposer or the person who raised it: the check runs at the approve action on both the in-client and the API channel, and the purge engine repeats it before it certifies (native workflow routes a work item to its participants and never compares submitter with approver). The engine writes the certificate before deleting. If a proposal's scope or cutoff looks wrong, reject - the store stays untouched.
- Approve erasure requests (D11 phase 5). A holder of the Warden identity resolver role raises the request; you are the second person. The work item and Erasure requests name the person by reference code only, so you approve without access to identities, and Warden refuses you if you raised the request. An approval Warden accepts restricts the person at once, with no way back in this build, and the erasure runs only once no record naming them by reference is still retained; approve only a request you mean (see section 11, Asking for a person to be erased).
- Watch: aging holds (stuck approvals), frequent ungoverned-action rows (a failing control needs engineering, not tolerance), setup-gap signals.
5. Approver
You hold a step in a Delta / Excluded-class / Firming / Sales governance / Trade agreement / Register activation / Purge approval workflow. Work arrives in the native inbox.
Task pages for this role: Approver.
- A delta work item carries exactly what changed - open the consolidated diff panel (the work item's document link): old → new per line, class verdicts. You re-approve the delta, and your approval covers all of it: "A re-approval covers the whole change set. Per-scope selective re-approval is a recorded future capability".
- Approve releases the document's holds and re-baselines the approved field classes.
- Reject sends the work item back to you - it does not kill the request, and it releases nothing.
This rule is uniform across all fifteen workflows. Concretely, on a rejection Warden
records the refusal and changes nothing else: no status is written, no hold is released, and the
workflow instance stays alive. Three consequences worth knowing:
- The hold staying on is the point, not an oversight. A Warden hold blocks acts on the document - confirm, post, receive, invoice, print, send. It does not block correcting the document. So a rejected document remains fully editable while remaining un-actionable, which is exactly the state you want between a refusal and a fix. Releasing the hold on rejection would unlock precisely what the approver refused.
- The route back is the platform's own Resubmit, which re-dispatches the same instance. You correct the document and resubmit; you do not start a new request and you do not lose the history of the first one. For two families (delta and excluded-class) the hold is in fact the precondition for resubmission - their submit managers refuse to run without it.
- A corrected change can be approved. When a returned diff-set work item is resubmitted, Warden records the resubmission on the change set, and the approve-time version-stamp check measures from it. So the correction the submitter made after your rejection is part of what you are asked about, and you can approve it. A change made after the resubmission is still refused, with a message saying the change set was re-stamped after it was resubmitted.
- Who can resubmit. The returned work item goes to the workflow's originator, and only a holder of the family's Resubmit menu item can continue it, in the client or through the API. Each family's Resubmit is granted with its approval privilege and, since 2026-10-28, also to the role that submits the family: the guard administrator for the five policy activations and for the delta, excluded-class, firming and sales governance routes it raises by hand, the audit administrator for purge proposals and register activation, and the controls owner for trade agreement journals (journal review and journal reversal already granted both). It is Resubmit only: the submitter still cannot approve their own request. A buyer or clerk whose own session raised a route is its originator too, and needs the family's Resubmit grant to continue it.
- Routes raised by a batch account. A route raised by an unattended drain has the batch account as its originator, so a return lands in that account's queue, where nobody works it. The controls owner resubmits these, as before, but not directly: Warden's work-item checks refuse an action by anyone who is not the work item's assignee (the same check the client applies), so an administrator first reassigns the returned work item to the controls owner, who then resubmits it, or cancels the instance from the workflow history page and lets the family's drain or Submit raise a fresh one.
- A rejection is now recorded as a rejection. Every family writes an event-log row on refusal, and the seven families with a rejection business-event contract raise it. Those rows deliberately do not name the deciding approver: the handler runs on the workflow runtime, where the acting user is a service account, so each row says so explicitly and points at the native workflow history rather than printing a name that would be wrong.
- Canceling an instance is done from the native workflow history page. The Warden page a work
item opens shows a workflow bar, but no Warden workflow puts Cancel or Recall on it, so there is no
Cancel or Recall on the document itself. (Until 2026-10-18 this said no Warden page shows a workflow
bar) On the workflow history page a system administrator, an IT manager, the workflow's
owner or a user who can open the workflow instances page can cancel it, and so can the person who
submitted it, if they can open that page on it. Canceling
is a different act from rejecting, and is recorded differently. What it does is not uniform across the
fifteen families, so do not read across from one to another:
- Twelve families leave the document recoverable and write no refusal. The five policy-activation
families and register activation return to
Draft, which is simply the resubmittable state. Delta, excluded class, sales governance and trade agreement write no state at all - and firming and journal review joined them, having previously written a terminal state that stranded the document permanently . (This line said "ten" until 2026-10-06; the families it lists are twelve.) - Three write a terminal state, and all three show it as Canceled, not as a refusal - journal reversal (the reversal state reads Canceled), purge approval (the proposal is closed as Canceled; a proposal canceled on a build by an earlier build reads Canceled (legacy row)) and, since D11 phase 5 (2026-10-28), erasure approval (the request is closed as Canceled). None blocks the business: a reversal is re-requested by creating another reversing journal (the canceled one stays held and unpostable, and Warden setup gaps lists it once its hold is four hours old), a canceled purge proposal does not block raising a fresh one, and a canceled erasure request is followed by a fresh request.
- Trade agreement, firming and banded journal review come back by themselves. A canceled approval in any of these three leaves the document held and still owed an approval, which is exactly what that family's route drain looks for, so its next unattended pass raises a new work item. For firming, that pass also runs at the end of every firming run, so it comes back even where the firming drain is not scheduled. Canceling is not a way to stop these approvals, and since 2026-09-25 the cancel dialog says so, for all three, before you confirm.
- For those three families, canceling is counted as a lost activation. Three cancellations of the same document exhaust the re-raise bound, and the drain escalates to a person instead of trying again. The cancel dialog tells you which cancellation this one is.
- A trade agreement journal that has been deleted is the exception. Nothing re-raises its approval. Deleting a gated journal the ordinary way (the journal form, or a process such as Magicite Lattice's price service) releases its gate and hold and cancels its approval in the same step. A journal deleted another way (while Trade agreement governance was switched off, by a process that bypasses the journal's delete, or on a build before decision 48) keeps its gate and hold, holding nothing, until its approval is canceled from the workflow history or approved. The cancellation then releases them and cancels any other open approval for the journal, and the journal's timeline gains a Gated document deleted and its gate released row that names nobody, because nothing saw the deletion, beside the Canceled row. A deleted journal whose approval had already ended before the deletion keeps its gate and hold: nothing reaches them, and they hold nothing. Warden retention cleanup keeps a deleted journal's gate record while the workflow still holds an approval for it, so the cancellation is always recorded, and removes the record on its next run after that.
- A workflow that stopped with an error is not replaced. While the workflow history
shows an approval workflow as stopped and the workflow runtime still holds it, Warden's route drains,
Retry on the exception workbench and the Submit buttons treat it as the document's approval and
raise no second one beside it. Have it resumed or canceled from the workflow history page. A
resumed workflow carries on to its decision; a canceled one is lost, counted, and re-raised as the
bullets above say. A stopped workflow is not counted as a lost activation while it can still be
resumed. Warden setup gaps lists, for each Warden workflow type, how many of its workflows are
stopped this way in the company (area code
STOPPEDWF). - The cancellation row says what the workflow history records. A workflow can still be canceled after its last approval, until the workflow has processed that approval, and the cancellation then throws the approval away. So the Canceled row (and, where the family has one, the canceled business event) of a policy or Sensitivity Register activation, a retirement, or a delta, excluded-class, firming, journal reversal or banded journal review approval does not say the workflow was canceled "before any approver decided": it says whether the history records an approval on that workflow, by whom when it names a person, and what was lost if it was the last approval needed.
- Integrations hear a cancellation as a cancellation. Every family records it on the event log,
typed
Cancelled. The seven families with a rejection business event (delta, excluded class, firming, sales governance, trade agreement, journal reversal, banded journal review) also raise a canceled business event (Warden delta canceled, Warden firming canceled, Warden sales governance canceled, Warden journal governance canceled, Warden trade agreement canceled), carrying the canceled instance's workflow correlation id, under the same business-event switch as that family's other events. It is never the rejection event: a subscriber that listens for rejections is not told about cancellations. The five policy-activation families, register activation and purge approval raise no cancellation event, as they raise no rejection event.
- Twelve families leave the document recoverable and write no refusal. The five policy-activation
families and register activation return to
- A closed request cannot be quietly overturned. All four journal and reversal submit managers carry a status precondition, so a privileged user cannot re-submit a review or reversal whose cycle is closed and have it look like a first submission. A canceled reversal is closed. A canceled banded review is not: it stays pending and comes back, as the bullets above say, and Submit on the queue raises it again at once if no work item is live for it. (This bullet said a canceled review cannot be re-submitted until 2026-10-06)
- The version-stamp rule: if the document was edited again after the diff you read, the approval
is refused and re-routed. Both the API operations and the in-client Approve button enforce this,
through one shared rule class (
MGCWardenApprovalStampGate, hooked into the nativeWorkflowWorkItemActionManager::dispatchWorkItemAction). - Signing limits are enforced at your approval action. If the amount the approval
commits exceeds your configured Approval limit for that document type, the attempt is logged
and refused, and the message names the amount, your limit, and the approvers whose limit does
cover it (smallest sufficient first) so you can delegate it onward. Both the API and the in-client
Approve run the same rule class (
MGCWardenSigningLimitCheck), in the same order, ahead of the stamp gate - being told you lack authority is more useful than being sent back to re-read a panel you could never have actioned.- The limits that apply are those of the legal entity the document belongs to, in its accounting currency, even when you approve while working in another legal entity; the refusal then names that legal entity and currency.
- Enforced for: purchase order delta re-approval and excluded-class approval, planned-order firming, sales governance, governed journal reversals.
- Skipped, and logged as such: trade agreement approvals, policy activation, register activation and purge proposals - none of them commit a document value, so no currency limit applies. They are never silently treated as zero.
- If you have no limit row for that document type, the approval proceeds and is recorded as unconstrained. Configure a row (0 means "may approve nothing") to constrain it.
- If Warden cannot work out the amount, the approval proceeds and an ungoverned-action attestation is filed - a Warden malfunction never blocks your approval.
- Spending limits are still not read by anything; enforce those out of band.
- Approvals can also arrive via the API (
MGCWardenWorkItemService.approve/reject) - same checks, same event-logging, same refusals.
6. Sales & journal governance users
CSR, sales manager, credit controller, pricing analyst, inventory accountant - Package B touches you only where a policy covers your documents.
Task pages for these users: Buyers, planners, sales and journal users.
- CSR: confirming an order that breaches a threshold (margin, discount, credit exposure, value)
places a hold and routes approval - the confirm is gated until it completes. Credit exposure and
value thresholds are amounts in your company's accounting currency, whatever currency the order
is in: the order is converted before it is compared. If there is no exchange rate for
the order's currency, those measures and the margin are skipped and the skip is recorded; the
discount measure still runs. A duplicate customer
requisition warns or blocks per policy; overrides need a reason and are audited (the at-entry
duplicate check is live at both insert and update and the retrospective
sweep over history is live too, run it from Warden duplicate requisition sweep). The at-entry
check runs when the order is created and when its customer or customer requisition changes -
not on any other save. Adding, changing or deleting lines, picking and
invoicing save the order header too, but they do not check again: under Warn a duplicated order is
recorded once, for the save that set the duplicated requisition, and under Block an order that
already carries a duplicate (saved under Warn, or before the policy) can still be edited, picked and
invoiced. The sweep is what reports such an order. Clearing the requisition and setting it again is
checked again, like any other change.
Price lock is live. With Price lock = Yes on the policy, once an order has
been committed - it has posted a confirmation, picking list, packing slip or invoice - changing a
line's unit price is recorded as a change diff against the order (visible in the Warden change
sets FactBox on the sales order, which is shown only to a user whose role holds the guard inquiry
privilege: the Warden controls owner, guard administrator and count supervisor roles) and flags it
Reconfirmation required. The edit itself
is never refused; what is refused is picking, packing and invoicing until you post a new
confirmation, which re-runs the threshold checks and clears the flag automatically. Editing a
price before the order is committed is ordinary order entry and is not touched. On an existing
line only the unit price is watched: a change to quantity or discount after confirmation is not
covered by this setting. A line added to or removed from a committed order is covered by the
same setting through the composition lock (
MGCWardenSalesCompositionLock): it is recorded as governed evidence and the order is flagged Reconfirmation required in the same way, subject to the same enforcement posture. Reconfirmation required is also still set by a threshold breach on a policy withReconfirmationRequired; that is a separate switch and a separate route. However the flag is set, what it refuses is fixed: "Reconfirmation always gates picking, packing and invoicing, with no off switch". The relief the same decision allows is the policy's Enforcement posture. Block, the default, is everything above. Warn records instead of stopping: a breach or a locked price that moved is written to the order's Warden governance log as Degraded to warn, with a warning on screen and a business event, but no hold is placed, no approval is raised, the order is never flagged for reconfirmation, and nothing is refused. Where a Block policy and a Warn policy both breach on one order, the Block policy holds it. Duplicate requisition detection keeps its own posture. Every Active version set to Warn is listed on Warden setup gaps, one row per version, for as long as it stays on Warn . On an automated route (point of sale, an intercompany leg, an order integration), a breach under Warn is recorded once for the order's content, as it already was from the order form: retrying the posting, or posting the order from the form afterwards, records nothing more while the order is unchanged, and changing its customer, its currency or its lines (item, amount, discount, quantity, or a line added or removed) records it again. When more than one policy locks prices, the one whose threshold lines name the order line most specifically governs it, and two that would rank equally are refused when the second is submitted for activation. Two threshold lines of one version with the same measure, scope and priority are refused too. A version that went live with such a pair before that rule is listed on Warden setup gaps, naming the scope the two lines share. - Quotations: a sales governance policy whose Applies to is Quotation or Both now governs quotations as well as orders. The same four measures (margin %, discount %, credit exposure, value) are recomputed when you send a quotation and when you confirm it into a sales order; a breach places a governance hold and routes the same approval work item, and until that approval completes the quotation cannot be sent and cannot be converted. One caveat worth knowing: a quotation raised against a prospect rather than a customer has no customer balance, so the credit exposure measure is skipped for it and the skip is recorded - the other three still run. Project quotations are not covered. Once approved, a quotation carries its approval to the derived order - no double approval, unless the totals changed on the way, or the quotation itself was edited after it was approved. A quotation edited while its approval was still waiting carries nothing either: the approval covers the quotation as it was when the breach was found, so it releases the hold but records no approval for a derived order to carry, and the quotation's governance log says so on an Approval carried from quotation entry. The edited quotation is checked again at its next send or confirmation. Editing a held quotation does not withdraw or re-route its pending approval, by decision. Dynamics 365 lets you edit a quotation while it is held, and Warden leaves the approval running: the approver decides the breach as it was found, and the edit is judged at the next send or confirmation, which evaluates the quotation again and holds it again if it breaches. Canceling the approval on every edit was rejected because it would release the hold with nothing approved, so the quotation could be sent before anything had checked it. When a quotation is sent or confirmed by the Dynamics 365 Sales quotation integration or an opportunity mass status update, a breach under Warn is recorded once for the quotation's content, the same way as for an order: repeating the send or the confirmation records nothing more while the quotation is unchanged, and changing its customer, prospect, currency or lines records it again.
- Approvers: a sales governance approval releases the hold it was raised for, and only that one. If that hold was released another way while the approval was waiting (an emergency release) and the order or quotation has since been held again for a new breach, completing the old approval releases nothing: the new hold waits for its own approval, and the document's governance log says so on the approved entry. A canceled sales governance approval says on its log entry whether the workflow history records an approval, and by whom - a workflow canceled after its last approval but before the workflow processed it discards that approval, and the document stays held. A hold whose own approval was canceled can be sent for approval again with Submit for sales governance approval on the reconfirmation tracking list, even when another approval of the same breach is pending, stopped or completed: that other approval cannot release the hold, so the button raises a fresh one, and the requested entry names the hold and the approval it replaces.
- Inventory accountant: posted journals under an immutability policy cannot be deleted -
that's the point, and it is verified live on
InventJournalTable.delete. **Attachment-mandatory and line-cost band routing are live **, enforced at the journal check/post seam (MGCWardenInventJournalBand_Extension, deciding viaMGCWardenJournalBandGuard):- Attachment mandatory - a journal under a policy demanding documentation is refused unless at least one document is attached to the journal header (a document on a line does not count). You are told when you click Check - it appears in the journal's normal error list - and the post itself is refused outright if you skip the check.
- A refusal at the check is recorded, once per journal per day. When Check, or a Post that the check stops, refuses a journal for either reason above, the journal's governance log gets a Posting refused by a policy gate entry saying the journal check refused it and why, naming you by subject reference. Only the first refusal of a journal in a day (UTC) is recorded, and the entry names only the person refused first: pressing Check again, refusals for another reason later that day, and refusals of anyone else that day add no entry, and neither does a check refusal of a journal that already has a refusal entry that day (including one written at the posting step). A refusal at the posting step itself (a post that skipped the check) is still recorded every time.
- Line-cost bands - the largest single line cost on the journal decides the review step, so one CFO-sized line makes the journal a CFO journal and a hundred small lines never add up into a band. Warden measures the band, stamps Required approval step on the journal governance record and routes the Warden journal banded review workflow; who Controller and CFO are is decided by the steps you configure on that workflow, conditioned on that field. The journal cannot post until the review completes at the required step.
- Approvals do not travel upward: a journal reviewed at Controller and then edited up into the CFO band is gated again. Cut back below every band and it is free again - including after a refusal, because the reviewer refused a larger journal than the one you now have.
- Configure at least one band with a step other than None, and an enabled configuration of the review workflow; both omissions are reported on the setup gaps list rather than silently passing journals through or holding them with nowhere to route.
- Pricing analyst: TA journal lines are validated against floor-price/margin policy at the posting attempt, not at save - the guard re-runs against the policy in force at post time , gates and routes, and refuses the post. Composing and saving a below-floor journal raises nothing; the journal posts only after the Trade agreement approval completes. Violations are listed first for the approver. That is the Route posture. Under a Block posture the post is refused outright and no approval is offered: nothing is gated or held, the journal stays editable, and only correcting the price lets it post. The check runs whoever posts the journal: the journal form, a batch, an integration such as Magicite Lattice's price service, the vendor catalog product release and the retail kit configurator alike. A process that posts inside its own database transaction cannot have a Route finding gated and approved on its own path: its posting is refused, nothing is gated, and the refusal is recorded on the journal's governance event log (flagged Out of band); submit or post that journal from the journal form to have it routed. Unified pricing management (UPM) has no enforcement seam and is completely ungoverned.
7. Count supervisor
Role: count case processing. The workbench is your home; the native pending-review page still works.
Task pages for this role: Count supervisor.
-
Every over-limit count and every rejection becomes a review case - nothing is discarded any more. Warden auto-accepts none of them (decided 2026-10-06). A count waiting on the native pending-review page shows as Awaiting native review, and you decide it on the native page first: accepting it there closes the case as Accepted (native), rejecting it there leaves it on your workbench to decide. Until then Warden takes no action on the count: Accept, Recount, Quarantine, Propose write-off and Write off are all refused for it (decided 2026-10-07), and each refusal is recorded on the case as a Change refused event. A count rejected on the native page always comes to you. A press on a case that is already closed is refused too, and is recorded the same way. Small differences still settle without you on the device: a count inside the counter's own native limits is accepted there, but under Strict review a count outside either policy threshold is always sent to review: a count must be inside BOTH, quantity and value, to stay on the device.
-
On the Count governance workbench: Take a case, then choose the outcome - Accept (queues the decision-time delta for consolidation), Recount (generates real cycle-count work, linked by lineage; the loop cap forces escalation instead of counting forever), Quarantine (native transfer journal to the MISSING location, no P&L; the case joins the aged queue).
-
A quarantined case cannot be accepted. While the case has a Quarantined or Aged entry on the aged MISSING queue, Accept is refused before its dialog opens, on the workbench and through the count API, and the refusal is recorded on the case as a Change refused event. Accept would adjust the count location while the quarantine, and its transfer journal, still say the stock is in MISSING, so the shortage would be adjusted twice. Settle it on the aged MISSING queue instead: write it off, or return it to stock.
-
A recount settles the case that ordered it. When the recount work is counted, the case that ordered it closes by itself with outcome Recount, and nothing is queued for it. If the recount is accepted on the device, native has already adjusted the stock to it; if it lands in review, a new case opens and carries the count and its decision. You do not need to Accept the old case, and doing so would have adjusted the same shortage twice. A case with stock quarantined to MISSING stays open instead, with an event saying it is for you to decide between the quarantine and the recount. The loop cap counts every recount of the discrepancy, including those ordered on the earlier cases a recount opened, so a recount that keeps landing in review still escalates.
-
Known native interaction - spot cycle counting hands out whatever count work is at the location, including a Warden recount. This is standard Microsoft behavior and it surprises people, so it is worth knowing before you configure a spot-counting menu item. When a worker scans a location for a spot count, the platform first tries to create count work there, then picks the first open count work at that location - and it does not check that this is the work it just created. It also refuses to create new count work where open count work already exists. So at a location that is holding a Recount Warden generated, the spot count adopts the recount and gives it to whoever scanned. Warden's controls still apply in full: the different-worker check runs on the adopted work before it is taken, so the original counter is still refused, and the recount is still recorded against the case it belongs to. What the platform does not do is tell the worker that the count they are about to perform is not the one they asked for. If your counters use spot counting on locations that also go through count governance, tell them that a spot count can turn into an assigned count. The same rule works in your favor in one place: because open count work blocks new count work at a location, a Recount disposition on a location that already has open count work on it produces no recount, and Warden escalates the case rather than pretending one is under way - clear the location's count work, then disposition again.
-
Write-off is not on the workbench. It is done on the aged MISSING queue, because it disposes of stock rather than dispositioning a count and only quarantined or aged stock can be written off. It takes two people. You press Propose write-off (a reason for proposing is mandatory) and the case moves to Pending write-off. A second person presses Write off (reason code mandatory), which is refused for the proposer; it releases the decision-time signed delta to the consolidation queue and closes the case, forward-only. Write off needs
MGCWardenCountWriteOffPriv, which is granted to nobody by default - ask an administrator to grant it to someone other than the reviewer who quarantined the stock. -
The write-off adjusts where the stock is. Once the quarantine transfer journal is posted, the stock is in MISSING, and that is the location the write-off adjusts. If the quarantine moved nothing (no journal, or a journal deleted unposted), it adjusts the count location. A posted quarantine journal that the native posted-journal clean-up has since deleted still counts as posted, from the inventory transactions it left. The counting journal line shows the on-hand at the location it adjusts. While the quarantine journal exists unposted, Write off is refused before its dialog opens, naming the journal: post it or delete it, then write off again. Propose write-off is not refused for this. Warden never posts or deletes the native journal for you.
-
Count tiles and KPIs. Warden Controls carries five count tiles: Open count cases, Count cases in recount, Escalated count cases, Stock quarantined as MISSING and MISSING entries past SLA. Pressing one opens its list filtered to exactly the rows it counted - the first three open the workbench, the last two the aged MISSING queue - and the filter sits in the filter pane, where you can clear it. Past SLA means an SLA date before today on an entry that is still Quarantined or Aged, so it includes an entry the SLA monitor has not aged yet. The rates are not tiles, because a tile is one number, but your role reads them over OData or Power BI from two read-only entities:
WardenCountKPIs- one row per warehouse, case status, outcome, opening day and write-off day. Auto-accept rate = sum of AutoAcceptedCases ÷ sum of Cases; recount rate = sum of RecountedCases ÷ sum of Cases (RecountDispositions counts the recounts ordered); open cases by outcome = sum of OpenCases by Outcome, aged from OpenedDate; write-offs per period = sum of WrittenOffCases and WrittenOffValue by WrittenOffDate. Sum first, then divide - a rate averaged across rows is wrong.WardenCountMissingKPIs- one row per warehouse, MISSING state and SLA date: Entries and QuarantinedValue. The stock still in MISSING is the Quarantined and Aged rows; the entries past SLA are those rows with an SlaDate before today.
What they cannot tell you: count accuracy (a count inside the counter's limits is accepted natively and never reaches Warden, so the number of counts performed is not in Warden's tables); the current value of quarantined stock (the value is the one captured with the count, in the company's accounting currency); and anything older than the closed-case retention window - closed cases opened before it are purged, so an old period's rates are not rates. Dates are UTC calendar days; rolling them into fiscal periods is the report's job.
-
The consolidation run turns accepted deltas into one native counting journal per warehouse per window - reviewed, approved and posted natively, unless the count policy elects auto-post, which posts through the standard native posting. Warden never posts around the native journal. Your role does not run it: the run, the Aged-MISSING monitor and the count case retention cleanup are on the Warden guard administrator role, and nothing schedules them until an administrator does.
-
Device-user mapping ties every count event to the actual worker - this feeds the Part 11 pack.
-
Stated limit - if Warden itself fails on a handheld count, you will not get a control-outage row for it. Three count controls run inside the warehouse mobile framework's own transaction: the different-worker recount check (when a counter takes recount work), the Strict review check (when the device decides whether a count goes to review, and the message it shows the counter), and the review capture (when a count lands in pending review, or a reviewer accepts or rejects it). The review capture also runs inside the transaction of the back-office cycle count review form, so the same holds for a reviewer there. The platform does not let Warden run any code once that transaction has been aborted, so an unforeseeable internal failure - a database deadlock, a kernel error - leaves Warden nothing to write with, and anything it had already written for that scan is rolled back with it. What this does not mean is that a count slipped through ungoverned. The abort takes the counter's action with it: the work is not taken, the review transition does not land, the count is not recorded. Nothing escapes; the outage is what goes unrecorded. And it is not silent to people - the counter gets the device's error page and cannot continue, on that scan and on every retry, and a reviewer on the back-office form gets an error message; either is the signal to escalate. If a counter reports a handheld error they cannot get past on a cycle-count step, treat it as a Warden incident and raise it, because the workbench will not raise it for you (see Troubleshooting → Runtime). Failures Warden can foresee on these seams - the count case or policy version behind a recount cannot be read, the work header cannot be read, an item cannot be valued - are handled the other way: the control stands down, the count proceeds, and a control-outage exception is filed on a separate connection so it survives the rollback. Those you will see.
8. Exception processor
Role: Guard Administrator or Controls Owner. You keep the fail-open queue at zero.
Task pages for this role: Exception processor.
The Execution exceptions workbench lists every internal Warden failure across all five packages: source, area, reason, severity, assigned-to. Take → fix the cause → Retry; Dismiss needs a reason. Control-outage exceptions - the fail-open attestations - are never purged; they are the audit trail of governance downtime, not housekeeping debris.
The queue is not a complete record of governance downtime. This section used to say that one gap is known, the two handheld count seams. There are more, and they share one cause. The queue records an outage only where Warden's own code is still running after the failure. Where Warden checks an action inside the database transaction that performs it, an internal failure Warden did not foresee (a database deadlock, a kernel error, a half-applied deployment) aborts that transaction. The platform runs no more Warden code once it has aborted, and anything Warden had already written is rolled back with it, so nothing is filed here.
That is fail-closed, not fail-open: the action is refused, so nothing goes through ungoverned. And it is not silent to people: whoever started the action gets the error (the form's message, the device's error page, the batch or integration log, the import's row log). What is missing is the outage row. Where this applies:
- Purchase orders: saving a purchase order header or line under Order Guard. This is one of the seams that fail closed by design (see The blocking doctrine). Also a purchase posting started by a process that already holds its own transaction: point of sale and the Retail order services, inbound transportation work, Italian intent letters, and integration services that post inside their own transaction.
- Sales orders: saving a sales order header (the duplicate requisition check, which runs when the order is created or its customer or requisition changes, and the requisition index, on every save); saving, adding or deleting an order line that the price or composition lock evaluates; posting a sales order confirmation (the reconfirmation clear); and a sales posting started by a process that already holds a transaction, such as point of sale, the Retail order services, or an intercompany leg.
- Quotations: converting a confirmed quotation into an order, and sending or confirming one.
- Planned orders: firming planned purchase orders.
- Inventory journals: deleting a posted journal from the journal form, and posting a journal.
- Trade agreement journals: the check inside the posting itself, and, when the posting is started by a process that already holds its own transaction (the vendor catalog product release, the retail kit configurator), the whole price-guard check that runs before it. Posted from the journal form, a batch or an integration that holds no transaction (such as Magicite Lattice's price service), that check does file its failures. Also deleting a journal Warden has gated: its gate, hold and approval are released and canceled inside the delete, so a failure there refuses the delete.
- Warehouse counting: the different-worker recount check when a counter takes work, the Strict review check on the device, and the review capture when a count lands in pending review or a reviewer accepts or rejects it, on the device and on the back-office review form.
- Documents printed by post-and-print inside a caller's posting transaction.
- Workflow event handlers: a Warden failure there faults the workflow instance. It shows in the workflow history, not here.
On the counting seams, the failures Warden can foresee (a count case, a policy version or a work header it cannot read, an item it cannot value) are handled the other way: the control stands down, the count proceeds, and a control-outage exception is filed on a separate connection so it survives. Those you will see. A Warden check that runs outside any transaction does file here when it fails open. See Count supervisor for the counting statement, and Troubleshooting → Runtime for what to do when someone reports a refusal with nothing on this workbench.
9. Break-glass holder
Not a role. A deliberately granted, temporary privilege.
Task pages for this privilege: Break-glass holder.
Break-glass release lets one person release a governance hold without an approval outcome -
the 2 a.m. escape hatch. Before accepting the grant, know that: it ships in no role; grants
auto-expire after BreakGlassGrantHours (MGCWardenBreakGlassExpiryBatch disables aged
assignments); every use demands a mandatory reason, writes hold/timeline/event-log rows, fans an
alert to the configured recipients and fires a business event with the break-glass flag; and a
grant of the role that carries it alerts the sensitive-role recipients, because Initialize Warden
puts every role carrying the privilege on the sensitive-role list (your administrator re-runs it
after creating that role). The privilege grants the Break-glass release button, not the
Governance holds page it sits on: to open that page, the role that carries it also needs
MGCWardenGuardInquiryDuty, or you need another role that holds the guard inquiry privilege. The
time-box and the alert recipients are Warden parameters, so changing
them leaves a self-audit record too. Use it,
write an honest reason, and expect the question in the next controls review. That is the design
working, not you being in trouble.
Degrade-to-warn alerts reach the same kind of audience and are configured next to the
switches, not here. Turning DegradeToWarnDD, DegradeToWarnIC or DegradeToWarnTMS on or off
alerts everyone in Degrade-to-warn alert recipients - or, if that field is blank, everyone in the
break-glass recipient list, so the alert works before anybody configures it. A guard parameters record that
is created with a switch already on, for example by importing the Warden guard parameters entity or
by Copy into legal entity into a company that had no Warden parameters yet, alerts exactly as turning the
switch on does, using the recipient lists that arrived with it; if it brought neither list, there is nobody
to alert, so import the lists with the switches. The alert always goes to the recipients of the company
whose switch changed, even when the import was run from another company. Deleting the record turns every
switch off: it is recorded in the self-audit trail and, for each switch that was on, alerts the recipients
the deleted record named that enforcement is restored, exactly as turning the switch off does. A switch
turned on whose alert reaches nobody - neither list names anyone, or nobody on the list is a user in
this environment - still saves, and leaves an execution exception on the Warden execution exceptions
workbench saying so and why; name at least one user in Degrade-to-warn alert recipients. Turning a switch
off alerts everyone who was on the recipient list before that save as well as everyone on it after, so a
save that turns a switch off and changes the list in one go still tells the people listed until then.
An import of the Warden guard parameters entity is built to go through all of this even when its data
project has Run business logic in insert or update method cleared; do not clear that setting on such a project. Imports of the Warden audit parameters, Warden audit compliance
parameters and Warden count governance parameters entities are built the same way to leave their
self-audit record, and are equally unrun. Two things to know. The
alert fires on the switch, not on each softened change: a rollout lever stays pulled for weeks,
and one inbox row per governed edit would bury the recipient. And it is in-client only, exactly as
described for sensitive-role alerts above - no email is sent. The per-document half is unchanged: the
person making the change is warned on screen and a Gate degraded to warn row lands on that
document's timeline. The alert is sent once the save has completed, so a save that is canceled
alerts nobody. If the alert cannot be sent, the save still stands and the switch change is still recorded
in the governance event log; you see a warning, and an execution exception on the Warden execution
exceptions workbench, telling you to tell the recipients yourself.
10. Audit administrator
Role: MGCWardenAuditAdministrator. You run the capture estate; you cannot approve purges, and the
auditor role conflicts with yours by design. Your own actions are always captured - self-audit is
non-configurable.
Task pages for this role: Audit administrator.
- Sensitivity Register (Warden Audit workspace): enroll objects deliberately - object, grain, sensitive columns, retention class. Submit for activation; a different user approves. Remember the doctrine: an empty register captures nothing, and every entry states its honest coverage boundary. Object and grain are the whole gate; the column list declares what field-level capture will record once it ships and narrows nothing today. Saving a column on an entry whose grain is not Deep Record raises a warning that says exactly this, and saves it anyway - the declaration is legitimate, it just has no effect yet.
- Run the estate (schedule as batches): the queue writer (drain/dedup/append), the integrity batch (anchors → publication → verification), guard ingestion (governance events into the store). Watch the queue inquiry for drops - drops are counted and alerted, never silent.
- The HR deprovisioning scan, one per legal entity. Schedule it in every legal
entity that employs people. A person has left when every employment they hold, in any legal
entity, has ended - a transfer between legal entities is not a leaving, because the user account is
not per company. Each leaver is then proposed once, on the Deprovisioning queue of the company
whose legal entity employed them last; a person who left two legal entities on the same day is
proposed in one of them, the same one every time. "Once" means one entry for each enabled user
account linked to the leaver: a person with an everyday account and an administrator's
account gets two entries, each with that account's roles, each attested or excepted on its own, because
removing one account's access says nothing about the other's. A company where the scan is not scheduled gets no
entries for its leavers, and no other company's scan proposes them instead; each scan says on its
message bar how many leavers with an enabled account it left to other legal entities. The setup gaps page, in every company, also shows a
DEPROVISIONINGrow for each legal entity that employs people (some worker's last employment is there, ended or not) and has no recurring scan; the row appears only while the Evidence & Compliance feature is on, and scheduling the scan with a recurrence in that company clears it. A transfer between legal entities proposes nothing, so roles only the old legal entity granted are reviewed by nobody: that is decided and stays a documented v1 limitation. - Leavers whose HR lives outside D365. The deprovisioning scan reads D365's own HR
data, so if your HR system of record is elsewhere it sees nobody leave. Have that system send each
leaver to the Warden leaver intake records entity (data management or OData collection
WardenAuditLeaverIntakes): a source system and its own reference for the record, the leaver's D365 user id and/or personnel number, and the last day of employment. The scan then treats the record exactly like a D365 leaver - after the last day, if the account is still enabled, it raises an entry on the Deprovisioning queue with the same SLA, marked Leaver source = External HR system - and an account that already has an open entry, or an entry already attested or excepted for that same leaving (excepted ), is linked to it rather than proposed twice; the record's reason says which. A record for a later leaving (the person was rehired and has left again) raises a new entry even though an older one was attested. Each record raises at most one entry, ever, for one account: a record sent with a personnel number alone evaluates the person's first enabled account in user id order, and when the person holds other enabled accounts the record's reason says how many it does not cover. Send one record per account, each with its user id ; a user id sent with the personnel number is accepted for any account linked to that worker. Leaver intake records (System administration → Setup) lists every record with its status, reason, matched account and worker, the entry it raised or was linked to and that entry's status, and who imported it and when; filter any column from its header. What you will see there: Quarantined records matched no account (the reason says what to resend; Warden never retries them), Matched, no enabled account records are checked again by every scan, Matched, hired again in D365 since records raise nothing because D365 HR shows the person hired again after the record's last day, and Imported by is always the account that sent the record - shown, for records received since D11 phase 2a (2026-10-08), as that account's subject reference (WP-…), which a holder of the Warden identity resolver role sees resolved in Imported by (name) beside it (D11 phase 3) or looks up on Resolve identities; the user ID and personnel number the HR system sent stay as received. A D365 employment that began on or before the record's last day does not count as a rehire, so a D365 employment nobody ended does not silence a record. You can read the intake but not write to it, on purpose: the write duty,MGCWardenLeaverIntakeDuty, ships on no role and belongs on a role made for the HR integration's own account, so that "External HR system" on a queue entry can only ever mean the HR system sent it. A received record cannot be changed. A record sent in error is withdrawn on Leaver intake records while it has raised no entry (Withdraw record, with a mandatory reason; the record becomes Withdrawn before it raised an entry, final, and the withdrawal is on its Governance timeline); once it has raised or been linked to an entry, withdrawal is refused and recorded, and you except the entry instead. Withdraw record is greyed for you: its privilege,MGCWardenLeaverIntakeWithdrawPriv, ships on no role, because a withdrawal stops a leaver from ever reaching the queue and the person who runs the scan must not be able to do that; grant it to whoever holdsMGCWardenDeprovisioningDispositionPriv. Records are removed by Warden retention cleanup on the evidence window (measured from the import), but only final records - raised, linked, quarantined or withdrawn - and never one whose entry still exists. A record that is still open (waiting for the scan, Matched, no enabled account or Matched, hired again in D365 since) is kept until it settles, because a later scan can still change it; a record that never settles is kept, and checked by every scan, for as long as it stays open. Every record is sealed into a tamper-evident chain when it is received; the HR deprovisioning scan re-walks it on every run, the page shows its last verdict, and a broken chain files a Critical execution exception. The chain's end is published outside D365: every run of Audit chain integrity publishes each company's chain head - its sequence, its digest and how many records retention removed - beside the audit store's anchors, on the same channels (the governance event log, the Warden audit anchor published business event and the anchor feed file). Each publication also restates the digest the record where the previous publication ended carries now. Whoever holds the feed outside D365 can then see a chain that somebody with database access recomputed: for each company, in publication-number order, the restated sequence and digest must be the previous publication's sequence and digest (TROUBLESHOOTING says what to do when they are not). That copy outside D365 is the durable record of past chain heads, by decision: Warden does not also keep them in the audit store. Inside D365 each publication's Audit anchor published entry lasts the evidence retention period and is then removed, so keep the business events or the feed file for as long as you need to check the chain. - Deprovisioning overdue alert: in every company that uses the deprovisioning queue, schedule Deprovisioning overdue monitor beside the HR deprovisioning scan, and on Warden audit compliance parameters fill Deprovisioning overdue alert recipients (user IDs, not email addresses) and, if a week is wrong for you, Deprovisioning re-alert interval (days). A proposed entry past its SLA date then alerts those recipients once, on the first run after the date, and once more per interval while it stays proposed - each step once, however often the job runs. 0 alerts once only. The alert is in-client (alert list and pop-up), no email. Every escalation is also on the entry's governance timeline. Setup gaps tells you when the monitor is not scheduled in a company whose queue is in use, or is scheduled with recipients that name nobody. The monitor runs even with the Evidence & Compliance feature off: it is about leavers already on the queue.
- Retention classes: durations per class (≥ 8 years for MCA-relevant objects), export-before-purge flags. A class with Export before purge set makes every certified purge export first, so set the export destination (below) before you set the flag, or no purge can be proposed.
- Purge export destination (Warden audit parameters → Export and alerts): Export container (an Azure Blob container you create - an immutable/WORM container is recommended, not required), Export secret name (the name of a secret reference on System administration → Setup → Key Vault parameters, type Manual, whose secret holds the storage account's connection string - ideally a shared access signature scoped to that container with create, write and read and no delete) and Export secret company (the legal entity whose Key Vault parameters hold that reference). Warden stores only the name; the connection string never leaves the vault. When any of the three is set, every certified purge exports first.
- Purge: you propose (structurally beyond-retention only); a Controls owner approves; the certificate is permanent. You cannot purge alone, by design. The Export manifest band on the purge workbench now shows the manifest behind the selected proposal - target, partition, sequence range, row count, time - so the hash printed on a certificate resolves to something an auditor can actually read. When an export destination is configured (or a retention class demands an export), the approved purge first writes every row it is about to delete to the container as JSON lines, writes a manifest listing each file with its SHA-256 and row count, and reads all of it back; only if every file and the manifest read back exactly as written does it delete anything. The band's Exported time is the moment that read-back matched, and the Export manifest SHA-256 on the band and on the certificate is the hash of that manifest - check it against the file at Export location with any SHA-256 tool. If the export or the read-back fails, nothing is deleted and no certificate is written: the proposal stays Approved, a Critical execution exception says why, and the next run of the execution batch - or Retry on that exception - tries again once the cause is fixed. With no destination and no demanding class, no export runs and the band shows Exported empty - the row then records the certified range only.
- Approval is not execution. When the Controls owner approves, the proposal becomes
Approved, awaiting execution and nothing is deleted yet. You run - better, schedule - the
Execute approved audit purges batch job (System administration → Setup, or Execute on the
purge workbench): it checks dual control again against Warden's own record of the approval, checks that a
retention class still exists, checks that it can read every legal entity's active holds, re-screens the
carve-outs, exports where configured, writes the certificate and only then deletes. Any failure is a
Critical execution exception and the proposal stays Approved for the next run. The holds are read in each legal entity in turn, as erasure reads them, so a hold in a legal entity the
account is not shown still protects its rows. While Warden cannot confirm it reads one legal entity - it has
no Warden parameters there,
datincluded - no purge is proposed, approved or executed, and the setup gaps page'sERASURErow names it: run Initialize Warden there. Running it decides nothing: it executes only what somebody else approved. Unscheduled, it leaves every approved purge waiting, and the setup gaps page says so. One case is closed instead of waiting: a proposal raised before the upgrade that began recording people by reference code (D11 phase 2b) and approved after it reads Closed: propose again, deletes nothing, and frees its company for a fresh proposal, which you raise and have approved as usual . A second case closes the same way: an approval that can never pass the dual control at execution, because Warden's own records of it refuse for good (Approved by blank, the Purge approved event naming nobody or gone from every legal entity, records naming two people, or an approver who is the proposer). The execution exception says which record refused and carries no Retry; raise a fresh proposal and have a second person approve it. - Erasure certificates, and the export that protects them from a restore (D11 phase 5). When an approved erasure executes, Warden destroys the identity behind the subject's reference in the identity vault and writes an erasure certificate (System administration → Setup → Erasure certificates): the erased reference, both signatories and the account that ran it - all as reference codes, never a name - and a census, counted before the identity was destroyed, of the rows that name the subject by reference (they are not changed; the reference now names nobody) and of what erasure did not and cannot reach: rows written in clear before the upgrade, electronic signatures, the platform's Created by column table by table, the leaver intake records (sealed, never rewritten), closed work-queue claims, and in words what nobody can count. In the same transaction it blanks the subject's claim on open work-queue rows and deletes their signing limits, role snapshots and, for a worker or a warehouse user, device mappings (a warehouse user's in its own legal entity only). Certificates are permanent: nothing can change or delete one. A database restore from before an erasure brings the identity back, and removes its certificate. So schedule a recurring data management export of the Warden erasure certificates entity to your own storage, outside the database (your role exports it, beside the purge certificates). After any restore: compare the last export with a fresh export of the same entity (the Erasure certificates page is granted to the auditor role, not to yours); for every subject reference in the export that has no certificate after the restore, raise a new erasure request for that reference and have it approved again - it is executed as before once its preconditions hold (an account the restore brought back must be removed or disabled again). Nothing does this for you: a restore that nobody follows up undoes the erasure. Whether an erasure meets a legal obligation is a legal reading Warden does not make, and all of this is verified by compilation only so far.
11. Auditor / compliance officer
Role: MGCWardenAuditor - changes nothing it audits. By design: "The
Auditor cannot change governed documents, policies or Warden setup. Its only writes are its own
evidence records (pack builds, verification results), and each one is logged." Conflicts with Audit
administrator (SoD).
Task pages for this role: Auditor and compliance officer.
- Investigate with the user timeline (all activity, reads with occurrence counts, role changes). For the per-record pivot ("who saw this record"), select a row on the timeline or on the Audit store inquiry and press Who saw this record. The timeline opens for the record that row names, on the last 30 days; widen the dates and press Apply to look further back. A row that names no single record, such as a role change, opens a page that searches nothing and says why. Your queries are themselves self-audited.
- Search the timeline for a person by their subject reference (
WP-and twelve characters; D11). Searching by user ID needs the Warden identity resolver role, which the auditor role does not carry: a user ID you type is refused and nothing is searched. Get the reference from a record that shows it, or from a holder of the resolver role. The resolver role alone cannot open the timeline (only the auditor role grants it), so only someone holding both roles can search it by user ID for you. Your reference search finds the records written under that reference and says, in rows of its own, what it could not reach: records written before Warden named the person by reference, which name them by user ID, and the native database log. Opened from the Users page, the timeline fills in the user only for a holder. - Names are for holders of the Warden identity resolver role, not for the auditor role (D11 phase 3). On the fifteen pages that show a reference code - the governance event log, the audit store
inquiry, role event history and the timeline among them (
FORM_REFERENCE.md, How people are shown, lists all fifteen) - a holder sees a (name) column beside each code and a (names) column beside text that carries codes, and each opening and each filter change is recorded in the audit store under the holder's code (Identity resolved); a refresh or a sort is not. With the auditor role alone you see the codes, as before, and nothing is recorded for you. Filter on the code columns; a name column cannot be filtered. A user ID on a record from before the upgrade reads (not pseudonymized) to everybody. A warehouse user is named with its legal entity - Jane Doe (warehouse user 24 in usmf, worker 000123) - because Warden keys warehouse users by legal entity and ID: warehouse user 24 of one legal entity and warehouse user 24 of another are two people with two codes. On Resolve identities look a warehouse user up asusmf/24, or as24for the legal entity you are working in. - Run evidence packs per period: India MCA, SOX ITGC, 21 CFR Part 11, workflow-config export. Every pack carries the coverage statement (sensors, retention, latest chain verification, anchor-feed status, the pseudonymization posture, verbatim non-capture boundaries) and the control-downtime section - zero outages renders as an explicit attestation, and the section cannot be disabled. Packs are marked draft pending legal review until the legal review of the templates closes.
- What a pack says about the people in it (D11 phase 3). Since D11 phase 3 the coverage
statement of every pack carries a block, just above its last line, that says since when your
environment has written each group of records with reference codes; what a
WP-code is and that only a holder of the resolver role can resolve one, every lookup logged; how many of the period's audit store rows and governance event log rows still name their actor by user ID; what an erasure needs and cannot reach, that a code in the pack may therefore name nobody (it shows as erased), what a database restore does, and how many erasure certificates your environment holds (D11 phase 5; until then the line said erasure was not available); and what stays in clear by design (the platform's Created by column, signature manifestations, the platform's own records). A SOX ITGC pack's ApprovedPurges line also says when the execution will close a purge instead of executing it. - Exported packs name people by subject reference (
WP-and twelve characters; D11), exactly as Warden stores them, the pack's Created by line included. Each binder's header says so in a line of its own. A holder of the Warden identity resolver role - which the auditor role does not carry - is asked one question when they press Export: Resolve identities, unticked by default. Ticked, the .txt and .html binders show each reference beside the person it stands for. Warden first records the disclosure and the number of people the binders name in its evidence store, the binders' header then reads "Identities resolved for this export by WP-…" with the exporter's own reference, and the export's self-audit row records the count. If Warden cannot record the disclosure, the pack is exported with references, as stored, and the holder is warned. The option has no menu item of its own and is not offered through the API, and Render (ER) does not offer it in this build. A resolved file that leaves the system is beyond erasure. - Asking for a person to be erased (D11 phase 5). A holder of the Warden identity
resolver role looks the person up on Resolve identities, then raises an erasure request on
System administration → Setup → Erasure requests with the
WP-code alone, and submits it. The controls owner approves it from the work item without vault access: the request, its work item and its page show codes, never names, and Warden refuses an approver who raised the request. A system user, a worker and a warehouse user can all be erased; a warehouse user is one warehouse user ID in one legal entity, and is asked about in that legal entity only. When the approval completes Warden refuses the erasure while the person's account is still enabled (a worker: still employed; a warehouse user: not disabled in its legal entity), while a disabled account still holds any role, System user included (remove every role first: role capture would otherwise record the role again and give the account a new code), while a warehouse user's code was issued by a pre-release build, while Warden cannot read the warehouse parameters of the warehouse user's legal entity (raise or execute the erasure from an account that holds a role there), while a warehouse user is still its legal entity's generic work user or the work user on cycle-count work that is not closed or canceled (count capture would otherwise record them again under a new code: set another generic work user, or close, cancel or reassign the work), while another erasure request for the same person is already approved or deferred, while Warden cannot confirm that it reads every legal entity - it reads each one in turn, in the legal entity itself, and checks first that it can read that legal entity's Warden parameters; one it cannot is refused by name, because "nothing found" there proves nothing. Run Initialize Warden in that legal entity: where Warden was never initialized no account passes the check, and the Warden setup gaps page lists every such legal entity (ERASURErow) before anybody raises a request. Only where Warden was initialized does the account matter, and then it is the account the workflow runtime completes the approval under, and the account Execute due erasures runs under, that need a role there; Raise and Submit ask the same question first, so a request is stopped there rather than after an approval round. If the platform refuses to switch into the legal entity at all, the approval does not complete: the workflow stops with an error (the setup gaps page lists it) and the request stays Submitted - or while the person still takes part in an open control - in any legal entity, an open purge proposal, a missing-count entry, a gated trade agreement journal, an active hold they placed or a proposed deprovisioning entry, or, for a warehouse user, a count case that is not closed and that they counted, or a counter record they made on the work of such a case (in any legal entity where the row names them by their code; in their own legal entity where it still holds their warehouse user ID, because the same ID elsewhere is somebody else) - and the request reads Refused with the reason. Each of these is found, or the erasure is refused. Otherwise the person's processing is restricted at once (GDPR Art. 18): their code resolves for nobody, holders included, and a holder's pages show it as (restricted). If a record naming them is still inside its retention period - the audit store on its retention class, the governance event log, signature manifestations, leaver intake records and decided deprovisioning entries on Evidence retention (years) (a leaver intake record still open is kept until it settles - and a record whose account has nothing left to revoke stays open by design, so such a request stays Deferred with no date until you settle or withdraw that record on Leaver intake records; its reason says so, and whether such records should stop holding an erasure back is a decision for the controls owner), role events on their seven-year floor, and for a worker their count cases and counter records on Closed case retention (days) (a count case still open until it closes) - the request is Deferred until the last of those dates, which it shows with the reason; otherwise it is Approved. Records keyed by the person themselves count whether they name the person by code or still in clear. Execute due erasures (schedulable) carries both out when they are due, asking every condition again first, and on every run it asks each deferral again, so a deferred request moves - earlier or later - when retention changes, and one deferred with no date is not left behind. Raising, approving and deferring are each on the governance event log (ErasureRequested,ErasureApproved,ErasureDeferred), by code. - Every pack build and every finding you file is logged, or it does not happen. A build writes a Self-audit row naming you when it starts and another when it completes, each in the same transaction as the run it logs. If the completion row cannot be written, the run is Failed, its sections are discarded and its summary says why; if the start row cannot be written, no run is recorded and the build fails. Verify reconstruction on the audit store inquiry files each Critical finding together with a Reconstruction finding filed row naming you; if that row cannot be written, the finding is not filed and the verification stops with an error naming the row. The log rows outlive the findings: retention cleanup deletes a resolved or dismissed finding once its exception retention period has passed, and never deletes a self-audit row.
- Erasure certificates (D11 phase 5): read-only, on System administration → Setup → Erasure certificates. One per executed erasure, naming nobody: what was erased, who proposed and approved it (as reference codes), when, and the census of what the erasure reached and could not reach. The audit administrator's section says what an erasure does and why a restore matters.
- Role history: durable grant/revoke events with source attribution; sensitive-role grants alert within the capture batch window; the deprovisioning queue turns HR terminations into human-confirmed proposals - never silent auto-deprovisioning.
- Working the deprovisioning queue is the security administrator's job, not yours: Take,
Assign, Attest and Except all need
MGCWardenDeprovisioningDispositionPriv. What you can read: Assigned to is whoever took the entry or was assigned it, and after a decision the person who decided; a holder reserves nothing, so anybody with the privilege may still attest or except it. Overdue escalation step counts how many times an entry past its SLA has been escalated. The governance timeline holds every claim, handover and escalation. - What a decision means to the next scan. While an
entry is Proposed the scan raises nothing more for that account. An attested or excepted entry
answers for the leaving it was raised for and no later one: a leaver who is rehired, given access again
and leaves again is proposed again, on the first scan after the new leaving date. An exception stands
until then, whatever happens to the account, because keeping the access is what it decided. An
attestation records whether Warden saw the access removed at that moment (Access seen removed at
attestation): yes when the account was gone, disabled (whatever roles it still held, decision
46), or enabled but holding no enabled role other than System user, the role Dynamics 365 gives
every account (decision 52). If the account was still enabled and held another role, the
attestation answers for its leaving as before, and its timeline row says what Warden saw. Otherwise,
if the account is later enabled holding an enabled role other than System user, with no new leaving -
switched back on, or granted a role - the next scan proposes it again, once; the new entry's
Proposed again because names the attestation. Except that entry if
switching the account back on, or the new role, was deliberate. Both are read-only columns on the
Deprovisioning queue and fields of the
WardenAuditDeprovisioningEntriesentity. - What that alert is, and is not: recipients are user IDs, not email addresses, and the alert lands in their in-client alert list and pop-up - no email is sent. If you need a signal that reaches you outside the client, ask for the Warden sensitive role granted business event to be switched on and subscribed to; it fires on every matched grant regardless of the recipient list.
- Count governance KPIs. Your role reads the two count KPI aggregates over OData -
WardenCountKPIsandWardenCountMissingKPIs, described under Count supervisor above. They are rates and totals: no row names a case, an item, a location or a person. The count case records remain an export of the audit administrator's (MGCWardenGuardEvidenceEntityPriv), so this read does not change what you can publish.
12. Security summary
| Artifact | Kind | Notes |
|---|---|---|
MGCWardenGuardAdministrator | Role | Authoring + simulate + inquiry + exception processing (A - C setup surfaces) |
MGCWardenControlsOwner | Role | Activation approval + inquiry + exception processing + purge second signatory + erasure second signatory (approves erasure requests without vault access; D11 phase 5) |
MGCWardenCountSupervisor | Role | Count case processing (Take/Accept/Recount/Quarantine) + inquiry; write-off release is not here - it is a separate privilege on a separate duty |
MGCWardenAuditAdministrator | Role | Register, retention, purge proposal, health - never purge approval |
MGCWardenAuditor | Role | Read-only inquiry + pack execution; SoD: conflicts with Audit administrator |
MGCWardenIdentityResolver | Role | Ships assigned to nobody (D11). Resolve identities; the timeline's search by user ID; the person beside each reference code on the fifteen pages that show codes; Resolve identities on an evidence pack's Export; raising, submitting and executing erasure requests (D11 phase 5), which the controls owner approves. Every grant alerts, and every lookup and every showing of names is recorded in the audit store. Not on the auditor, audit administrator or controls owner roles, by design |
MGCWardenCountKPIEntityPriv | Privilege | Read on the two count governance KPI aggregates, on MGCWardenCountProcessingDuty (count supervisor) and MGCWardenAuditInquiryDuty (auditor). An aggregate names no case, item, location or person, so it is not the record export, which stays on MGCWardenGuardEvidenceEntityPriv |
MGCWardenPolicyAuthoringDuty / MGCWardenPolicyActivationDuty | Duties | The author ≠ activator pair. Enforced by Warden's approve-time gate, not by a rule on this pair (see below) |
Each family's …Resubmit menu item | Menu items | Granted with the family's approval privilege and, RS1 (2026-10-28), also on the privilege that holds its Submit item, with the API resubmit operation: MGCWardenPolicyAuthorPriv (five policy activations), MGCWardenRouteRecoveryPriv (delta, excluded class, firming, sales governance), MGCWardenAuditAdministrationPriv (purge, register activation), MGCWardenTASubmitPriv (trade agreement). Resubmit only, never Approve. The erasure approval (D11 phase 5) has its Resubmit only on the submitting side, MGCWardenErasureRequestPriv (identity resolver), not with its approval |
MGCWardenBreakGlassReleasePriv | Privilege | UNGRANTED BY DESIGN; deliberate, time-boxed, auto-expired grants |
MGCWardenCountWriteOffPriv | Privilege | UNGRANTED BY DESIGN (via the duty below); the Write off action on the aged MISSING queue. Quarantining stock and disposing of it are the two halves of one act - grant to someone other than the reviewer |
MGCWardenCountWriteOffApprovalDuty | Duty | UNGRANTED BY DESIGN; the second-signature duty. Attach to the customer's controller (SOX) or QA (GxP) role - never to the role holding MGCWardenCountProcessingDuty |
MGCWardenDeprovisioningDispositionPriv | Privilege | UNGRANTED BY DESIGN; Take / Assign / Attest / Except on the leaver queue. Grant to the security administrator who actually performs removals. A claim reserves nothing |
MGCWardenDuplicateOverridePriv | Privilege | UNGRANTED BY DESIGN; registers a duplicate-requisition override. Grant to a sales supervisor, never to order entry and never to the sweep runner |
MGCWardenLeaverIntakePriv / MGCWardenLeaverIntakeDuty | Privilege / duty | UNGRANTED BY DESIGN; writes external-HRIS leaver records. Attach the duty to a role made for the HR integration's mapped user, never to a role a person holds. The audit administrator reads the intake through MGCWardenLeaverIntakeExportPriv (Read only) |
MGCWardenLeaverIntakeViewPriv | Privilege | The Leaver intake records page, Read, on MGCWardenAuditAdminInquiryDuty (audit administrator) |
MGCWardenLeaverIntakeWithdrawPriv | Privilege | UNGRANTED BY DESIGN; Withdraw record on that page and its API operation. Grant to the holder of MGCWardenDeprovisioningDispositionPriv, never to anyone who holds the audit administrator role |
Deployment-configured SoD rules (Security governance): Warden creates none, and Initialize Warden
only reminds you of the optional one. GETTING_STARTED.md §5b asks you to create one, auditor ≠ audit
administrator (MGCWardenAuditAdministrationDuty × MGCWardenAuditInquiryDuty), and offers one more,
policy author ≠ activator (MGCWardenPolicyAuthoringDuty × MGCWardenPolicyActivationDuty), as
optional, because the rule is not what enforces it. Purge proposer ≠ approver and register author ≠
activator need no rule: Warden's code refuses both. By design:
"Author != activator is enforced by Warden's X++ gate on every approve channel. A native SoD rule is optional and used for reporting only."
"Ungranted by design" - the convention, and how a sweep must read it
Some Warden privileges and duties are reachable from no shipped role on purpose. The grant is the control: an administrator must consciously hand the capability to a named person, and Warden refuses to guess which person that is. A referential sweep of the model sees these as orphans, because a deliberately-ungranted element and an accidentally-orphaned one are byte-identical in the metadata.
The convention. Any security element that ships reachable from no role carries the literal phrase
UNGRANTED BY DESIGN in its Description, followed by the reason that element is ungranted -
not a shared boilerplate, because the reasons genuinely differ:
MGCWardenBreakGlassReleasePriv- the conscious act of granting is the only control; there is no run-time second gate behind it.MGCWardenCountWriteOffPriv/MGCWardenCountWriteOffApprovalDuty- the design gives the authority to a controller or QA role Warden does not ship, and inventing one would be choosing the customer's org chart for them.MGCWardenDeprovisioningDispositionPriv- another element's guarantee depends on it: the Auditor changes nothing it audits and writes only its own logged evidence records, and granting this anywhere the Auditor reaches would silently falsify that claim, because an attestation is not an evidence record of its own.MGCWardenDuplicateOverridePriv- the only role it could be floored onto already runs the duplicate sweep, andMGCWardenDuplicateSweepPrivstates in writing that the sweep runner cannot silence its own findings.MGCWardenLeaverIntakePriv/MGCWardenLeaverIntakeDuty- the grant is what makes the source true: a queue entry raised from the intake says External HR system, the source system on a record is free text, and the only guarantee that the HR system sent it is that nobody but the HR integration's account can write records at all. The one shipped role it could be floored onto, the audit administrator, would let any administrator put a colleague on the queue under the HR system's name - and a customer who gave the integration that role to reach the duty would hand an integration the whole audit administration.MGCWardenLeaverIntakeWithdrawPriv- the one role it could be floored onto runs the scan it would pre-empt: a withdrawn leaver record never reaches the deprovisioning queue, and the audit administrator, the only shipped role that sees the intake, holds the scan, which "confers no disposition right whatever". Withdrawal is the Except decision taken before the entry exists, so it belongs with whoever may except.
Rules.
- Declare intent at birth. A new privilege or duty that ships in no role states so in its
Descriptionwith this phrase, in the same work item that creates it. Do not leave it for a later sweep to adjudicate. - Sweeps match on the phrase. An unreferenced element carrying
UNGRANTED BY DESIGNis intentional - report it as such and do not adopt it onto a duty. An unreferenced element without the phrase is a genuine finding: either place it, or mark it and say why. - The reason is per element. Never paste one element's rationale onto another. If a new element has no reason of its own, that is evidence it should be granted, not marked.
- The alternative is a reachability floor. Where an element can sit on a shipped role without
breaking a stated separation, prefer that and say it is a floor rather than the intended
production grant -
MGCWardenSalesGovApprovalDutyonMGCWardenControlsOwneris the worked example. Ungranted is for when no floor exists that does not break something.
Current full list of elements reachable from no role: the eight in the table above (the leaver
intake's privilege and duty joined the five on 2026-10-06). Everything else in
AxSecurityPrivilege and AxSecurityDuty resolves through a role.
"Shown but not followable by design" - why a workspace offers links you cannot open
This is a different convention from the one above, and confusing the two would be a defect. "Ungranted by design" means no role at all reaches an element. This one means the opposite: the page is granted, just not to every role standing on the workspace that links to it.
Both Warden workspaces are shared surfaces, not one role's home, and they are deliberately a complete map of their half of the product rather than a per-role menu:
| Workspace | Opened by | Roles that reach it | Links each role can follow |
|---|---|---|---|
| Warden Controls | MGCWardenGuardInquiryPriv (Read) | Guard administrator, Controls owner, Count supervisor | 12 of 12 · 11 of 12 · 10 of 12 |
| Warden Audit | MGCWardenAuditInquiryPriv and MGCWardenAuditAdministrationPriv (Read) | Audit administrator, Auditor | 19 of 19 · 9 of 19 |
So a role sees the whole surface and follows the part its duties cover. The links it cannot follow
are not oversights - each one is a refusal to grant, argued in the workspace's own class
documentation with the phrase SHOWN BUT NOT FOLLOWABLE BY DESIGN and the per-role counts above:
- Warden parameters is not followable by the Controls owner or the Count supervisor. The page is
the author's, granted only by
MGCWardenPolicyAuthorPriv; it carries the degrade-to-warn switches, so an activator who could open it could soften the enforcement of a policy it had just approved. That is the author ≠ activator control failing through a side door. - The exception workbench is not followable by the Count supervisor: processing guard execution exceptions is not count work, and the grant is Update, not Read.
- The ten Audit administration links are not followable by the Auditor. All ten are granted by
MGCWardenAuditAdministrationPrivalone - that is one boundary, not ten oversights, and it is the auditor ≠ audit administrator separation. The separation is shipped in the role design (neither role carries the other's duty); the native SoD rule that enforces it if somebody assigns both is deployment data you create (SMOKE_TEST.md§1.5), not something Warden ships. Granting any of them would falsify the Auditor's central claim that it cannot change governed documents, policies or Warden setup. They stay visible because an auditor who cannot see that a register, a retention class list and an anchor feed exist cannot ask who owns them.
The rule for new links. Put a workspace link in the group named for the duty that grants it - the group caption is what tells a user why a link is not theirs.
Users untouched by policy scope or register scope see zero change - no new forms, no new prompts, no slower saves, no captured reads.