Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Commit

Permalink
Setup Firestore rules test
Browse files Browse the repository at this point in the history
  • Loading branch information
abraham committed Dec 27, 2018
1 parent 4247b00 commit 0d54c51
Show file tree
Hide file tree
Showing 8 changed files with 2,212 additions and 208 deletions.
4 changes: 4 additions & 0 deletions server/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ node_modules/

# dotenv environment variables file
.env

# compiled test files
test/**/*.js
test/**/*.js.map
3 changes: 2 additions & 1 deletion server/firestore.rules
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if false;
allow read: if true;
allow write: if false;
}
}
}
Loading

0 comments on commit 0d54c51

Please sign in to comment.