Skip to content

Commit

Permalink
updated the firebase rules
Browse files Browse the repository at this point in the history
  • Loading branch information
yugank1991 committed Aug 5, 2019
1 parent fb6102f commit 61cae56
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions firebase-rules.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"rules": {
"users":{
"$token_id":{
".read": "auth.uid!== null",
".write": "newData.child('userId').val() === auth.uid"
}
}
}
}

0 comments on commit 61cae56

Please sign in to comment.