rules: allow contract deletion by creator

This commit is contained in:
mantikoros 2022-01-05 21:04:10 -06:00
parent 22894cb44e
commit 3d780be70a

View File

@ -10,6 +10,7 @@ service cloud.firestore {
match /contracts/{contractId} {
allow read;
allow delete: if resource.data.creatorId == request.auth.uid;
}
match /contracts/{contractId}/bets/{betId} {