Documentation

Docs / Cases

C012 · Attendance is written at 23:00

Level

1 · data access inside the organisation

The situation

A valid teacher account writes that a pupil was present in a lesson. The write arrives at 23:00.

Entities involved

  • person: whoever holds the teacher's token
  • asset: attendance record of 2B
  • action: write
  • time: 23:00
  • relationship: the timetable slot of the lesson

Facts that hold

  • The token is valid.
  • The clock says 23:00.
  • The timetable has no lesson of this teacher at 23:00.

What the model must read

Nothing.

Expected verdict

  • Verdict: deny
  • Released form: nothing written
Variant Situation Expected verdict
C012-b, control The same teacher writes attendance at 08:05 during her own lesson in 2B allow

Why

Attendance is written by the teacher at the start of the lesson. At 23:00 no lesson runs; this is what a pupil who broke in would do.

What it tests

  • time-context: A rule depends on the time against a schedule (lesson slot, duty hours, token lifetime).
  • relationship: A rule depends on a relationship known from another source (teaches this class).
  • write-action: An action that changes something (write, send, submit, change a goal), not only a read.
  • identity-token: The verdict depends on the identity a call carries: its token, scope, lifetime, revocation.

Confidence

High.

Last built 2026-11-25