Added sharing to anyone with link, changed home page

This commit is contained in:
Stefan Zermatten
2015-06-09 17:06:51 +02:00
parent 4f1376a666
commit 0d75cd5d15
11 changed files with 129 additions and 31 deletions

View File

@@ -176,6 +176,12 @@ Schemas.Character = new SimpleSchema({
"settings.useStandardEncumbrance": {type: Boolean, defaultValue: true},
//hide spellcasting
"settings.hideSpellcasting": {type: Boolean, defaultValue: false},
//show to anyone with link
"settings.viewPermission": {
type: String,
defaultValue: "whitelist",
allowedValues: ["whitelist", "public"],
},
});
Characters.attachSchema(Schemas.Character);