Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jan 31, 2025

Backport of #50270

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@susnux susnux force-pushed the backport/50270/stable27 branch from c156744 to 85c14b6 Compare January 31, 2025 19:09
@susnux susnux marked this pull request as ready for review January 31, 2025 19:09
@susnux susnux force-pushed the backport/50270/stable27 branch from 85c14b6 to dce5c1b Compare January 31, 2025 19:21
susnux and others added 3 commits January 31, 2025 20:45
Given:
User creates a link or email share with permissions=4 (create only = file drop).

Problem:
Currently the permissions are automatically extended to permissions = 5
(READ + CREATE). Work around was to create the share and directly update
it.

Solution:
Respect what the user is requesting, create a file drop share.

Co-authored-by: Ferdinand Thiessen <[email protected]>
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the backport/50270/stable27 branch from dce5c1b to eaf3dcc Compare January 31, 2025 19:45
@susnux
Copy link
Contributor

susnux commented Jan 31, 2025

Cypress and drone unrelated

Signed-off-by: Andy Scherzinger <[email protected]>
@AndyScherzinger AndyScherzinger merged commit 7709129 into stable27 Feb 4, 2025
43 of 45 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/50270/stable27 branch February 4, 2025 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants