Represent shared/invited vfolders as rows of the `vfolders` table
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 17h 7m
- Merged PRs (30d)
- 358
Description
It is complicated to query all accessible vFolders, and that's why `get_accessible_vfolders()` is hard to read and understand. The API joins `vfolders` and `vfolder_permissions` and takes additional steps to return list of dictionary.
Let's Insert shared/invited vFolders to vfolders table instead of `vfolder_permissions` table and migrate information of `vfolder_permissions` into `vfolders` for easy query.
related to #1900This will enable to replace `get_accessible_vfolders()` to RBAC API that returns `VFolderRow`
### Consideration
The migrated vfolders will have a different `id` from original vfolders. The migrated vfolders should have reference to original vfolder's id.
JIRA Issue: BA-137
Contributor guide
Assessment
This issue has not been assessed yet.