Documentation

Docs / Cases

C069 · A group grant with a column mask

Level

1 · data access inside the organisation

The situation

Decisions A17 and A18 of the built rule set. A person in group sg-claims-read, from a code editor (VS Code), reads her own claims. The verdicts are what the built decide function returns today, so they are the strongest ground truth there is for the existing rules, but they are the rule authors' own rules.

Entities involved

  • person: member of sg-claims-read
  • client: vscode
  • asset: insurance/claims own; field AMOUNT (A17), field DIAGNOSIS (A18, strictly confidential)
  • grant: G-107, group, client vscode, fields [AMOUNT], until 2027-04-01

Facts that hold

  • The grant's column mask lists only AMOUNT.

What the model must read

Nothing.

Expected verdict

  • Verdict: A17 allow; A18 deny (constraint-failed: fields)
  • Released form: A17: the amount field

Why

A grant can be narrower than its tier: only the columns it names.

What it tests

  • row-column-scope: Only some rows (own records) or columns (a mask) may be read.
  • cap: A ceiling on the released form (for example "aggregated at most").

Confidence

High (pinned by tests).

Last built 2026-11-25