Created
March 1, 2020 23:26
-
-
Save hiranya911/7c6eaea44318dd4140ed804a48edcf18 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service cloud.firestore { | |
match /databases/{database}/documents { | |
match /people/{person} { | |
allow write: if request.resource.data.familyName is string | |
|| request.resource.data.surname is string; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment