Transitions from one state to another
If each of the CRDT operations (policy and document) allows to compute its validity at any time, it assumes the complete graph traversal, and does not store the result of the evaluation to perform actions resulting from a change of this state. We therefore propose a mechanism to keep track of validity changes during the integration of operations of the
To this end, we store validity results 1 and transitions (deviations from stored validity) for every operation. The user decides when to effect the transitions, and to this end can query which document transitions exist, as they can be computed from stored policy transitions.
1 akin to cache, except this store is not cleaned after every policy operation addition, but after every transition has been effected
Let us take the example of a cancelled operation after a policy change:
inv_op2
supposes knowledge of a transition.