diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2023-06-23 11:11:07 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2023-06-23 11:11:07 -0400 |
commit | 32239432b79664f577bf0c84d4688c4e5cf7f14f (patch) | |
tree | b581d7cbaf0f4ae40b7967a084fe9a0ac283184c /src/client/views/DocComponent.tsx | |
parent | 1a9ecbb274e7b95a5b1dca6c45c329d9a32432c7 (diff) |
acls in proto so that layout acls start cleared
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 98aa9f880..6f350e0fc 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -199,7 +199,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>() const permissionString = StrCast(Doc.GetProto(this.props.Document)[key]) const permissionSymbol = ReverseHierarchyMap.get(permissionString)!.acl const permission = HierarchyMapping.get(permissionSymbol)!.name - distributeAcls(key, permission, d) + distributeAcls(key, permission, Doc.GetProto(d)) } }) ); |