diff options
author | bobzel <zzzman@gmail.com> | 2024-10-15 13:25:47 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-15 13:25:47 -0400 |
commit | 87d2d1d0305683a07166e44cfbcabfc94ff2069b (patch) | |
tree | 12d529d92d378870f8e1a66c534680fa0e28f3aa /src/fields/util.ts | |
parent | 63d1731bb675b71c20c0e460cf50ef9d674a6c08 (diff) | |
parent | 29b83f023442c313ca5cf95f70f6430f101060e6 (diff) |
Merge branch 'master' into alyssa-starter
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; |