aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-17 13:47:20 -0400
committerGitHub <noreply@github.com>2020-08-17 13:47:20 -0400
commit32e4751eb2d0506b11405ace2c03213515e736cb (patch)
treefb68e95fc8c81b3e2640159480f38a612f45ebe4 /src/client/documents/Documents.ts
parent227888ecdd9e83b9a2d99cb93890ae018274ea4d (diff)
parent2c1e3a0c657914c7426ac7347bdb2781e1fa49bd (diff)
Merge pull request #619 from browngraphicslab/acls_uv
Hopefully final acls change
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index d612f7b5c..3316e6b48 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -577,7 +577,7 @@ export namespace Docs {
// without this, if a doc has no annotations but the user has AddOnly privileges, they won't be able to add an annotation because they would have needed to create the field's list which they don't have permissions to do.
dataDoc[fieldKey + "-annotations"] = new List<Doc>();
- dataDoc.aliases = new List<Doc>();
+ dataDoc.aliases = new List<Doc>([viewDoc]);
proto.links = ComputedField.MakeFunction("links(self)");