webknossos icon indicating copy to clipboard operation
webknossos copied to clipboard

"Announce" datasets before they are placed on disk directly

Open normanrz opened this issue 1 year ago • 2 comments

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.

normanrz avatar Nov 23 '23 14:11 normanrz

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?

fm3 avatar Nov 27 '23 13:11 fm3

how would users trigger this? In the UI?

Preferably via the Python libs

normanrz avatar Nov 27 '23 13:11 normanrz