webknossos
webknossos copied to clipboard
Sort Datasets in a Virtual Folder Structure
Users should be enabled to sort datasets in a folder structure in the webKnossos UI.
(I suggest we move the checkboxes to the PR description once one exists)
- [ ] Backend
- [ ] SQL Schema, compare https://www.slideshare.net/billkarwin/models-for-hierarchical-data
- [ ] CRUD routes for folders
- [ ] routes to move datasets
- [ ] permission system
- [ ] directories get allowedTeams just like datasets
- [ ] dataset managers + admins can read+write in any folder
- [ ] users can read
- [ ] team managers can write in directories where the team they manage is allowed
- [ ] additive permission bubbling through the folder tree
- [ ] when you can read a leaf but not the parent, you still get to know the full path (but listdir will only lead you to the particular leaf)
- [ ] Frontend
- [ ] current directory table view
- [ ] sidebar with actions + metadata
- [ ] context menu with actions
- [ ] left-side tree view
Mockup for new dataset list view

@fm3 Is there already a branch for this issue?
There is :) I just linked the new PR, branch name is folders