diff options
author | bobzel <zzzman@gmail.com> | 2024-10-17 13:31:25 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-17 13:31:25 -0400 |
commit | 5e3f9d84da226e62ce109cc2c0b00ba76eb45189 (patch) | |
tree | 7516f80d96cb28088a49b1cba0edf7df78821c47 /src/fields/util.ts | |
parent | 14f412611299fc350f13b6f96be913d59533cfb3 (diff) | |
parent | 4a9330e996b9117fb27560b9898b6fc1dbb78f96 (diff) |
Merge branch 'master' into ajs-before-executable
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r-- | src/fields/util.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts index 60eadcdfd..33764aca5 100644 --- a/src/fields/util.ts +++ b/src/fields/util.ts @@ -227,7 +227,6 @@ function getEffectiveAcl(target: Doc | ListImpl<FieldType>, user?: string): symb * @param allowUpgrade whether permissions can be made less restrictive * @param layoutOnly just sets the layout doc's ACL (unless the data doc has no entry for the ACL, in which case it will be set as well) */ -// eslint-disable-next-line default-param-last export function distributeAcls(key: string, acl: SharingPermissions, target: Doc, visited: Doc[] = [], allowUpgrade?: boolean, layoutOnly = false) { const selfKey = `acl_${normalizeEmail(ClientUtils.CurrentUserEmail())}`; if (!target || visited.includes(target) || key === selfKey) return; |