Database Rules for Documents Created with HTTP Cloud Function
The attached image shows two things:
Screenshot of Firestore database collection with one document that was created via http cloud function
Screenshot of Firestore 2.0 rules.
Rule
The rule allow create: if request.resource.data.replyTo == "hello";
was written to prevent any document from being created unless 'replyTo' == "hello".
Question Why was the document allowed to be created when 'replyTo' == '[email protected]' ?