Implemented
0
Provide permissions and ownerId in PUT request when uploading a new file
Source: nextcloud/server#54088 · opened by @mpivchev
On iOS and Android we need to handle some UI after we upload a file that requires us knowing the permissions for said file. This works in already PROPFINDed files, but a new file does not get PROPFINDed immediately for performance reasons. Currently we would have to fetch the whole metadata for a directory to know the permissions of new files, which is way too expensive, especially since we have to do this for every new file (imagine uploading 500 files at once). Feature request: After a PUT request for a new file we receive the e-tag and file-id. Is it possible to also receive the permissions and ownerId through that as well? This way we would not need to request the whole metadata for current directory every time. An example would be Oc-Permissions: SVGDM and Oc-OwnerId: xxxxxxx in the header. It can also be part of the body. Use case: 1. We need permissions to determine which actions to show when a file is uploaded. Example is hiding the "Delete file" option when use…
No pledges yet. Be the first to back this.
Comments
Similar requests
When sharing, I hope to be able to select multiple people or groups at once, wait for the selection to be completed, and then set permissions.
0 votes · 0 comments
App defined share permission flags
2 votes · 0 comments
Use s3 storage as the back-end storage, and do not aggregate after uploading to save traffic bandwidth and time.
0 votes · 0 comments
Set default sharing permission for public shares
1 vote · 0 comments
Allow uploading folders on file-drop ("upload only") shares
15 votes · 0 comments
No comments yet.