diff options
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r-- | src/fields/util.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts index 48b14ea57..fa1c47055 100644 --- a/src/fields/util.ts +++ b/src/fields/util.ts @@ -175,7 +175,8 @@ export function GetEffectiveAcl(target: any, in_prop?: string | symbol | number, // if there's an overriding acl set through the properties panel or sharing menu, that's what's returned. // if it's unset, it just goes ahead - if (target[AclSym]["acl-Override"] !== AclUnset) return target[AclSym]["acl-Override"]; + const override = target[AclSym]["acl-Override"]; + if (override !== AclUnset && override !== undefined) return target[AclSym]["acl-Override"]; let effectiveAcl = AclPrivate; const HierarchyMapping = new Map<symbol, number>([ |