Skip to content

ACM — Samples

These are the samples for the ACM — Access Connectivity guide. See also Short info and the tutorial.

Reservation A belongs to Traveler Alex. Reservation B belongs to Traveler Bea.

  1. Declare that a Traveler can read a reservation only when its owner matches the requesting user.
  2. Evaluate Alex reading A: the expected decision is allow.
  3. Evaluate Alex reading B: the expected decision is deny.
  4. Check that the application applies the result before returning B’s data.

An ACM coverage result cannot substitute for the last two checks. Record the selected policy target and the runner that exercised the exported rule and application boundary.

These four exercises are lesson briefs. Their dedicated CtxBazaar recipes and browser launch actions are planned; see Learning with models for available downloads and the meaning of each result.

Exercise Try this Expected observation
Two roles, one screen Give Support access to a support screen and deny Traveler access. The two fixtures have opposite expected decisions.
Own reservation only Add an ownership predicate to reservation access. A traveler’s own booking is allowed and another traveler’s is denied.
Missing rule Leave one screen without an access rule and inspect coverage. A coverage gap is reported without being mistaken for a policy-engine verdict.
Export and test Export a small rule set to one supported engine and define allow/deny fixtures. Only an actual engine run counts as enforcement evidence for that target.