Created
October 15, 2019 16:23
-
-
Save AniketSK/2dc83d5988765b19d2110d607d302571 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
rules_version = '2'; | |
service cloud.firestore { | |
match /databases/{database}/documents { | |
match /users/{uid}/goals/{document=**} { | |
allow read, write, create, delete: if request.auth != null && request.auth.uid != null && request.auth.uid == uid; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment