Skip to content

Instantly share code, notes, and snippets.

@RBonaventure
Created December 15, 2017 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RBonaventure/8d3259b7eef11c96fbb44850ce50cbc8 to your computer and use it in GitHub Desktop.
Save RBonaventure/8d3259b7eef11c96fbb44850ce50cbc8 to your computer and use it in GitHub Desktop.
service cloud.firestore {
match /databases/{database}/documents {
match /resources/{document=**} {
allow read;
}
match /locations/{document=**} {
allow read;
}
match /resources/{id}/likes/{document=**} {
allow read, write;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment