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(); }