Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
chore: Update Firebase rules
Browse files Browse the repository at this point in the history
  • Loading branch information
KostasDimakis committed Nov 27, 2017
1 parent 0768ec8 commit 351968a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions database.rules.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"rules": {
".read": "auth != null",
".write": "auth != null"
".read": true,
".write": false
}
}
5 changes: 4 additions & 1 deletion storage.rules
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Anyone can read the bucket, even non-users of your app.
// Because it is shared with Google App Engine, this will also make
// files uploaded via GAE public.
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if request.auth!=null;
allow read;
}
}
}

0 comments on commit 351968a

Please sign in to comment.