aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-06-22 12:15:05 -0400
committerbobzel <zzzman@gmail.com>2021-06-22 12:15:05 -0400
commit7c7c1634a5ec37ec885bd8201c0350627b411b75 (patch)
tree0af3c3213ba8654e6f86b059a3c5f19fbfeceb0f /src
parent3dcf29b8c96eb93eda5c0d75475a36821036130e (diff)
changed playground fields to never update...
Diffstat (limited to 'src')
-rw-r--r--src/fields/Doc.ts3
1 files changed, 1 insertions, 2 deletions
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 {