fixed firestore.rules

This commit is contained in:
Milli 2022-06-04 22:34:28 +02:00
parent 7ff1cf0b92
commit 1f588600fb

View File

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