From 7c7c1634a5ec37ec885bd8201c0350627b411b75 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 22 Jun 2021 12:15:05 -0400 Subject: changed playground fields to never update... --- src/fields/Doc.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index c9a5ee1bc..f5825fa66 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -251,9 +251,8 @@ export class Doc extends RefField { DocServer.GetRefField(this[Id], true); } }; - const effectiveAcl = GetEffectiveAcl(fKey); const writeMode = DocServer.getFieldWriteMode(fKey as string); - if (sameAuthor || effectiveAcl === AclEdit || effectiveAcl === AclAdmin || fKey.startsWith("acl") || writeMode !== DocServer.WriteMode.Playground) { + if (fKey.startsWith("acl") || writeMode !== DocServer.WriteMode.Playground) { delete this[CachedUpdates][fKey]; await fn(); } else { -- cgit v1.2.3-70-g09d2