Created
January 13, 2022 17:51
-
-
Save Eosis/c75307ce636200f0074daf2f94b3622b to your computer and use it in GitHub Desktop.
This file contains 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/{userId} { | |
allow read: if request.auth != null | |
match /private/info { | |
allow write: if request.auth && request.auth.uid == userId | |
allow read: if request.auth && request.auth.uid == userId | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment