Created
April 19, 2020 20:00
-
-
Save JohnProg/014211dfcad128f9f11807d5a22febc7 to your computer and use it in GitHub Desktop.
Revisions
-
JohnProg created this gist
Apr 19, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ Firebase { "rules": { "userAddedCars": { "$uid": { ".read": "$uid == auth.uid", ".write": "$uid == auth.uid || root.child('users').child(auth.uid).child('admin').val() == true" } } } }