Created
February 8, 2019 12:56
-
-
Save tailorvj/3137b0a9cf72f71148fe4b11f5c74b98 to your computer and use it in GitHub Desktop.
Firebase database rules set that allows logged in users only to read and write their own user into the users collection
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": { | |
"users" { | |
"$uid": { | |
".read": "$uid === auth.uid", | |
".write": "$uid === auth.uid" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment