backend.ai
backend.ai copied to clipboard
feat: add `shared_vfolders_info` and `update_shared_vfolder` APIs to client-py
-
Description: To show the shared vfolder info and update the permission, I added the client-py API.
shared_vfolders_infoshows the information such as folder name, folder id, owner, permission, folder type, shared to, etc.update_shared_vfolderupdates permission for the given shared vfolders. -
Related PR: https://github.com/lablup/backend.ai-control-panel/pull/287
[Questions]
-
I'm not sure which one is better to set as a name,
shared vfolders_info/update_vfolder permissionandupdate_shared_vfolder/vfolder_permission_info. -
To prevent normal users from modifying other people's shared folders, the following options are possible. Which one is the best?
- Edit manager
- Set as admin-only API
- Add logic to determine whether client-py is admin or not