Created
April 19, 2020 20:00
-
-
Save JohnProg/014211dfcad128f9f11807d5a22febc7 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
Firebase | |
{ | |
"rules": { | |
"userAddedCars": { | |
"$uid": { | |
".read": "$uid == auth.uid", | |
".write": "$uid == auth.uid || root.child('users').child(auth.uid).child('admin').val() == true" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment