rules fix

This commit is contained in:
mantikoros 2022-01-05 16:52:54 -06:00
parent 8594700fb4
commit fbc61fe28f

View File

@ -12,7 +12,7 @@ service cloud.firestore {
allow read; allow read;
} }
match /contracts/bets/{betId} { match /contracts/{contractId}/bets/{betId} {
allow read; allow read;
} }
@ -20,10 +20,14 @@ service cloud.firestore {
allow read; allow read;
} }
match /contracts/comments/{commentId} { match /contracts/{contractId}/comments/{commentId} {
allow read; allow read;
allow create: if request.auth != null; allow create: if request.auth != null;
} }
match /{somePath=**}/comments/{commentId} {
allow read;
}
} }
} }