From 1f588600fbc14d5f422acc3363b60e4793d2d14c Mon Sep 17 00:00:00 2001 From: Milli Date: Sat, 4 Jun 2022 22:34:28 +0200 Subject: [PATCH] fixed firestore.rules --- firestore.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firestore.rules b/firestore.rules index 50005b83..0d2a52d4 100644 --- a/firestore.rules +++ b/firestore.rules @@ -57,7 +57,7 @@ service cloud.firestore { allow update: if request.resource.data.diff(resource.data).affectedKeys() .hasOnly(['tags', 'lowercaseTags']); allow update: if request.resource.data.diff(resource.data).affectedKeys() - .hasOnly(['description', 'closeTime', 'autoResolveDate']) + .hasOnly(['description', 'closeTime', 'autoResolutionTime']) && resource.data.creatorId == request.auth.uid; allow update: if isAdmin(); }