set canImportItems in config.*.jsonc
This commit is contained in:
parent
df89abe6c2
commit
b59a9c3122
3 changed files with 36 additions and 0 deletions
|
@ -51,6 +51,7 @@
|
|||
"canEditUsers": {"admin": true},
|
||||
"canExportAnnotations": {"friend": true, "staff": true, "admin": true},
|
||||
"canImportAnnotations": {"staff": true, "admin": true},
|
||||
"canImportItems": {},
|
||||
"canManageDocuments": {"staff": true, "admin": true},
|
||||
"canManageEntities": {"staff": true, "admin": true},
|
||||
"canManagePlacesAndEvents": {"staff": true, "admin": true},
|
||||
|
@ -132,6 +133,18 @@
|
|||
{"id": "embeds", "title": "Embeds"}
|
||||
],
|
||||
/*
|
||||
"importMetadata" defines what fields (as defined in "itemKeys") will get
|
||||
populated with imported metadata. There is metadata for "title",
|
||||
"description", "uploader", "date", "tags", "id", "url", and the value must
|
||||
be a format string (like "{title} ({id})"). The type of the itemKeys must
|
||||
be "string", ["string"], "text", "date" or "year". The last two only work
|
||||
with "{date}".
|
||||
*/
|
||||
"importMetadata": {
|
||||
"summary": "{description}",
|
||||
"title": "{title}"
|
||||
},
|
||||
/*
|
||||
"itemKeys" defines the metadata associated with each item. Required keys
|
||||
are "*", "id" and "title". Annotation layers can be referenced too, which
|
||||
makes them available in the find element. Adding a key with "annotations"
|
||||
|
|
|
@ -52,6 +52,8 @@
|
|||
"canEditUsers": {"staff": true, "admin": true},
|
||||
"canExportAnnotations": {"member": true, "researcher": true, "staff": true, "admin": true},
|
||||
"canImportAnnotations": {"researcher": true, "staff": true, "admin": true},
|
||||
// import needs to handle itemRequiresVideo=false first
|
||||
"canImportItems": {},
|
||||
"canManageDocuments": {"member": true, "researcher": true, "staff": true, "admin": true},
|
||||
"canManageEntities": {"member": true, "researcher": true, "staff": true, "admin": true},
|
||||
"canManagePlacesAndEvents": {"member": true, "researcher": true, "staff": true, "admin": true},
|
||||
|
@ -137,6 +139,18 @@
|
|||
{"id": "embeds", "title": "Embeds"}
|
||||
],
|
||||
/*
|
||||
"importMetadata" defines what fields (as defined in "itemKeys") will get
|
||||
populated with imported metadata. There is metadata for "title",
|
||||
"description", "uploader", "date", "tags", "id", "url", and the value must
|
||||
be a format string (like "{title} ({id})"). The type of the itemKeys must
|
||||
be "string", ["string"], "text", "date" or "year". The last two only work
|
||||
with "{date}".
|
||||
*/
|
||||
"importMetadata": {
|
||||
"summary": "{description}",
|
||||
"title": "{title}"
|
||||
},
|
||||
/*
|
||||
"itemKeys" defines the metadata associated with each item. Required keys
|
||||
are "*", "id" and "title". Annotation layers can be referenced too, which
|
||||
makes them available in the find element. Adding a key with "annotations"
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
"canEditUsers": {"admin": true},
|
||||
"canExportAnnotations": {"member": true, "staff": true, "admin": true},
|
||||
"canImportAnnotations": {"member": true, "staff": true, "admin": true},
|
||||
"canImportItems": {"member": true, "staff": true, "admin": true},
|
||||
"canManageDocuments": {"member": true, "staff": true, "admin": true},
|
||||
"canManageEntities": {"member": true, "staff": true, "admin": true},
|
||||
"canManagePlacesAndEvents": {"member": true, "staff": true, "admin": true},
|
||||
|
@ -135,6 +136,14 @@
|
|||
{"id": "texts", "title": "Texts"},
|
||||
{"id": "embeds", "title": "Embeds"}
|
||||
],
|
||||
/*
|
||||
"importMetadata" defines what fields (as defined in "itemKeys") will get
|
||||
populated with imported metadata. There is metadata for "title",
|
||||
"description", "uploader", "date", "tags", "id", "url", and the value must
|
||||
be a format string (like "{title} ({id})"). The type of the itemKeys must
|
||||
be "string", ["string"], "text", "date" or "year". The last two only work
|
||||
with "{date}".
|
||||
*/
|
||||
"importMetadata": {
|
||||
"date": "{date}",
|
||||
"topic": "{tags}",
|
||||
|
|
Loading…
Reference in a new issue