Ensuring missing fields in Firestore security rules

added by JavaScript Kicks
6/17/2019 6:56:31 AM

201 Views

Let's say you have a users collection and each document in that collection contains the public information about a user. Something like this: And of course, since this is user's information, the users will have editing rights to their corresponding document. This can be guaranteed by the following security rule: All good till now.


0 comments