Repository navigation
Release v5.8.1
A command gated by a policy that reads recorded state now has its specifications run properly, so a denial specification for the asset without the plan can be run and passes.
Fixed
- A specification for a command whose policy reads recorded state, such as the plan of the asset it acts on, no longer comes back as unsupported ("A mapping escaped semantic admission"). It now runs against the read models the specification gives and the ones the events project. A command is denied for an asset whose plan lacks the feature, admitted for one whose plan has it, and denied for an asset with no plan recorded or only another asset's plan. Both engines agree on each case. (part of #1048)