webknossos
webknossos copied to clipboard
"Announce" datasets before they are placed on disk directly
When non-privileged users (no dataset manager or admin) place a dataset on-disk, they are not able to view that dataset in Webknossos because they are not allowed to make the necessary team assignment.
One solution would be to announce a dataset via the API before it is written to disk. In that case, webknossos would already have a database entry for the dataset with a team assignment when the dataset is being reported by the datastore. This could be allowed for team managers.
Could reuse reserveUpload, maybe with »willHappenOnDisk« bool param. Possibly with the normal reload trigger when the write/copy is finished.
How would users trigger this? In the UI?
how would users trigger this? In the UI?
Preferably via the Python libs