Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dav): use quota of destination in s3 chunk upload #39672

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

max-nextcloud
Copy link
Contributor

Summary

Check the free space on the destination.

Before it was checking the free space on $storage which is the upload storage of the user who triggered the upload. This led to user quota being applied
even when uploading to a share with unlimited space.

Checklist

Resolves: #39228.
Check the free space on the destination.

Before it was checking the free space on `$storage`
which is the upload storage of the user who triggered the upload.
This led to user quota being applied
even when uploading to a share with unlimited space.

Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud
Copy link
Contributor Author

/backport to stable27

@max-nextcloud
Copy link
Contributor Author

/backport to stable26

@blizzz blizzz added this to the Nextcloud 28 milestone Aug 2, 2023
@blizzz blizzz added the 4. to release Ready to be released and/or waiting for tests to finish label Aug 2, 2023
@blizzz blizzz merged commit 454c61f into master Aug 2, 2023
34 of 36 checks passed
@blizzz blizzz deleted the fix/s3-chunk-upload-quota branch August 2, 2023 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Users can not upload files bigger tha avaiable quota to folders with bigger quota
3 participants