began implementing sharing dialog

This commit is contained in:
Stefan Zermatten
2020-03-02 16:31:57 +02:00
parent 724f9574a2
commit 5578dca6e9
4 changed files with 128 additions and 8 deletions

View File

@@ -9,7 +9,8 @@ let SharingSchema = new SimpleSchema({
readers: {
type: Array,
defaultValue: [],
index: 1
index: 1,
max: 50,
},
"readers.$": {
type: String,
@@ -18,7 +19,8 @@ let SharingSchema = new SimpleSchema({
writers: {
type: Array,
defaultValue: [],
index: 1
index: 1,
max: 20,
},
"writers.$": {
type: String,