aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-08-06 19:51:25 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-08-06 19:51:25 +0530
commit3e4329b81d96f139f38eeb182afcbd8359dcd171 (patch)
tree85ec890c68b240506e4255c8549a7f4586886c0b /src/client/documents
parent6bd5f0b4d211d0395fd5035a5f17d33bb2399976 (diff)
alias and acl related fixes
Diffstat (limited to 'src/client/documents')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 7719b3eef..61a44a39d 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -565,6 +565,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>();
proto.links = ComputedField.MakeFunction("links(self)");