-
Notifications
You must be signed in to change notification settings - Fork 10
Description
In order to show lock icon for restricted files in the collection page card, referring to this issue in the front-end repo IQSS/dataverse-frontend#548, we need deliver access and permission information for each file to the UI, so we could check whether the lock icon is needed. In filePreview, the following properties are missing, and needed to be added.
restricted: boolean
canDownloadFile: boolean
categories: array of string "categories" would be similar to what it is in metadata api, for example, {"label":"blob","description":"","restricted":true,"categories":["Data","Documentation"],"id":6}
For tabular files, there are some properties needed additionally.
tabularTags: array of string for example,{"tabularTags" : ["Event", "Genomics", "Geospatial"]}
variables: number/int shows how many variables we have for the tabular file
observations: number/int shows how many observations for the tabular file
In dataset item preview, thumbnail waits to be added as well.
thumbnail: string
Waiting for IQSS/dataverse#11027