Open jorvis opened 1 year ago
Carlo argues that it makes sense to do this automatically for private datasets.
This has been implemented in v2 as part of the dataset curator rewrite (#671). The user will be able to toggle if a dataset they own is downloadable in "edit mode". The dataset is also not downloadable if the h5ad file is not found also.
Carlo argues that it makes sense to do this automatically for private datasets.
(April 16 2024, 2:22 pm EDT)
ALTER TABLE dataset ADD COLUMN is_downloadable tinyint default 1 after is_public;
It’s 1 by default because I think people not wanting their dataset to be downloaded is less the norm
Also worth noting that we decided (in Slack) to make a dataset downloadable by default no matter the privacy setting... the user will have to update their preferences. Ideally the only way someone is accessing a private dataset is through a share permalink. But I am open to changing the default option,. However, note the ALTER TABLE command has already been placed on the devel instances of gear and nemoanalytics, so there would be a subset of devel private datasets with "downloadable" enabled by default.
Also reopening because I realized I did not set a check to hide the expression viewer display dropdown menu option for cases where it is not downloadable
We assumed this might come up, and a user has now officially requested it.