It is possible to enforce field types with firestore security rules but is it possible to enforce field VALUE?
Lets say when a message is seen by the user.. The message seen
field gets updated to true
. And because this can never go back to false. How do I write a rule to only update seen
field if it is to be updated to true
.