Created
December 12, 2014 21:20
-
-
Save sscotth/bc3f474d52d2039394f1 to your computer and use it in GitHub Desktop.
Firebase Security Rules: Grants read/write access to the owner of this user account whose uid must exactly match the key ($uid)
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": { | |
".write": "auth !== null && auth.uid === $uid", | |
".read": "auth !== null && auth.uid === $uid" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment