Repository navigation
Release v6.10.0
A policy can now decide from recorded state, such as the plan of the asset a command acts on, or the author recorded on an entity.
Added
- Policies accept
readslines and a state condition such asplan.dataQuality == trueorarticle.author == $identity.id. Both compilers parse and print them, and the syntax tree carries them asStateConditionSyntax. A read that finds nothing denies. (part of #1230)
Changed
- Binding a state policy to the executable semantic model is refused with an unsupported-syntax diagnostic until it is admitted. Existing models serialize with the same bytes as before.