Closed aahnik closed 5 months ago
To make the frontend do lesser api calls, and make the flow simplified, the spaces/share endpoint is to be simplified
fields for shareAccess endpoint
for revokeAccess endpoint
access can be viewer/editor/manager/owner
the backend will verify whether current user has enough permission to share access
for example:
for now transfer ownership is not supported, because the file would start occupying storage space of new owner. todo in future.
To make the frontend do lesser api calls, and make the flow simplified, the spaces/share endpoint is to be simplified
fields for shareAccess endpoint
for revokeAccess endpoint
access can be viewer/editor/manager/owner
the backend will verify whether current user has enough permission to share access
for example:
for now transfer ownership is not supported, because the file would start occupying storage space of new owner. todo in future.