diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-06-16 13:22:07 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-06-16 13:22:07 -0400 |
commit | e581928cd39e08b35eba6a2447e7a9ba75101b96 (patch) | |
tree | 4e7114d9f41c2018f10dfa344b3f43f9b21d22ad /src/fields/util.ts | |
parent | a217c9261990cb751119ae68e7dcc7e32f48e529 (diff) |
DocumentDecorations layout
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r-- | src/fields/util.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts index 6c8758875..5bab701ff 100644 --- a/src/fields/util.ts +++ b/src/fields/util.ts @@ -218,7 +218,6 @@ function getEffectiveAcl(target: any, user?: string): symbol { effectiveAcl = value as symbol; } } - console.log(targetAcls) } return DocServer?.Control?.isReadOnly?.() && HierarchyMapping.get(effectiveAcl)!.level < aclLevel.editable ? AclEdit : effectiveAcl; @@ -237,7 +236,6 @@ function getEffectiveAcl(target: any, user?: string): symbol { * inheritingFromCollection is not currently being used but could be used if acl assignment defaults change */ export function distributeAcls(key: string, acl: SharingPermissions, target: Doc, inheritingFromCollection?: boolean, visited?: Doc[], isDashboard?: boolean) { - console.log(key,acl,target.title) if (!visited) visited = [] as Doc[]; if (!target || visited.includes(target)) return; if ((target._type_collection === CollectionViewType.Docking && visited.length > 1) || Doc.GetProto(visited[0]) !== Doc.GetProto(target)) { |