From 8f3a002840968c18352fa6aa27185b579b156d0e Mon Sep 17 00:00:00 2001 From: mantikoros Date: Wed, 5 Jan 2022 11:47:39 -0600 Subject: [PATCH] rules: handle querying all bets --- firestore.rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firestore.rules b/firestore.rules index 14047e59..3ba7d2cf 100644 --- a/firestore.rules +++ b/firestore.rules @@ -16,6 +16,10 @@ service cloud.firestore { allow read; } + match /{somePath=**}/bets/{betId} { + allow read; + } + match /contracts/comments/{commentId} { allow read; allow create: if request.auth != null;