diff --git a/firestore.rules b/firestore.rules index be39de5f..d7149344 100644 --- a/firestore.rules +++ b/firestore.rules @@ -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} {