Skip to main content
Version: 0.4.0

KQ092 — a model policy denies what is unstated

Error · model-policy-tests-unstated · Policies

A policy in a model set is a deny whose tested clause lists only unstated, and no other clause lists it.

A policy in a model set says what your model must state, so it denies a subject that leaves something unstated: -> deny auth: unstated. This one allows, tests a value that is stated, or selects by unstated in another clause. If it judges what your systems do, such as -> deny auth: key, move it to an architecture set; otherwise make it a deny whose clause after the action lists only unstated.

Examples​

A policy in model that denies a stated scheme judges the systems, not the model, so it raises KQ092:

policy no-anonymous in model "Nobody anonymous" -> deny auth: none

In an architecture set, it raises nothing:

policy no-anonymous in architecture "Nobody anonymous" -> deny auth: none

© 2026 Extenza Works. All rights reserved.