Worked scenario, illustrative and synthetic
One partner's first morning of test calls
Five entries, read top to bottom like a run log. Four go to plan. One tries to leave the room.
Create sandbox
The integration specialist adds the partner Fernlight Parcels (synthetic). The design gives it tenant TEN-A, one sample key and the fixture set for orders. Another sample partner already holds TEN-B.
Tenant ready
PTN-SAMPLE-01 TEN-A fixtures: 3 key: SBX-A-SAMPLERead scenario
Scenario SCN-ORDERS-02 asks the partner to send an order with quantity 0 and expects a 422 that names the quantity field, checked against orders-response v2.
Expectation written down before the call
SCN-ORDERS-02 expect: 422, field=quantity contract: orders-response v2Make test call
The partner sends the fixture. This is the normal path: the sample reply is a 422 naming quantity.
Run RUN-SAMPLE-014: contract met
POST /orders FX-ORDER-BADQTY -> 422 { field: quantity }The exception: a call outside the tenant
While debugging, the partner pastes an order number a colleague mentioned, ORD-B-0077. It belongs to TEN-B. The design answers with a refusal that reveals nothing about that tenant.
Run RUN-SAMPLE-015: stopped by isolation
GET /orders/ORD-B-0077 -> 404 No such record in tenant TEN-AInspect result
Both runs sit in TEN-A's history: one met its contract, one was stopped at a wall. The specialist can discuss the stray identifier with the partner. TEN-B's history is unchanged.
Evidence kept for the system owner
RUN-SAMPLE-014 met RUN-SAMPLE-015 stopped TEN-B runs unchanged
What the exception changes
Without the wall
A guessed or copied identifier could return another partner's record. OWASP calls the general weakness broken object level authorisation: an endpoint accepts an object identifier without checking that this caller may open that object.
With the rule, as designed
The call is checked against the key's tenant, refused, and recorded. The partner learns nothing about TEN-B. The system owner still has to test that a real build behaves this way.