Conduit
Conduit copied to clipboard
feat(storage)!: storage authz completion
This PR implements #1173. Please check in there for more details.
Breaking change:
- Client routes no longer allow container creation
Additional features:
- If no folder is provided in file creation, a personal folder is created with name
cnd_${user._id}
Bugs found & fixes:
- Admin endpoint for folder deletion did not delete subfolders and subfolder files
- Container deletion in local provider was not possible
Notes:
- Containers can own files directly if file folder is
'/', otherwise they can own folders that can own folders or files, e.tc. - Admin users can create scoped containers, but default container cannot be owned
- Admin users can create scoped folders with admin endpoint & client users can create scoped folders through file creation (if allowed to do so)
What kind of change does this PR introduce?
- [x] Bugfix
- [x] Feature
- [ ] Code style update
- [x] Refactor
- [ ] Build-related changes
- [ ] Other (please describe)
Does this PR introduce a breaking change?
- [x] Yes
- [ ] No
The PR fulfills these requirements:
- [ ] It's submitted to the
mainbranch - [x] When resolving a specific issue, it's referenced in the PR's description (e.g.
fix #xxx, where "xxx" is the issue number)
If adding a new feature, the PR's description includes:
- [x] A convincing reason for adding this feature
Other information: