Created
July 5, 2017 14:25
-
-
Save Chiamaka/39871d3e7f7bd736bda13d71dff66761 to your computer and use it in GitHub Desktop.
Firebase rules for restricting logged in users to their own bucket. Something like multi tenancy
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
// Firebase rules for restricting logged in users to their own bucket. SOmething like multi tenancy | |
{ | |
"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