aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {