Skip to content

Conversation

@ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Apr 29, 2025

fix #52060

The logic behind this condition is that if the file originate from a remote instance (federated share), then we can assume that the file is set as downloadable. We only know that for sure when trying to access the remote document.

Meaning that if you reshare it, you can assume that the document is downloadable and enable the checkbox on the share interface. Then the $hideDownload kicks in and disable the download to the final recipient, in case download permission is not kept on the reshare

@ArtificialOwl ArtificialOwl requested a review from a team as a code owner April 29, 2025 16:34
@ArtificialOwl ArtificialOwl requested review from Altahrim, artonge and provokateurin and removed request for a team April 29, 2025 16:34
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
@ArtificialOwl ArtificialOwl force-pushed the fix/52060/manage-download-on-federated-reshare branch from f9f07d7 to cc96782 Compare May 6, 2025 15:48
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♀️

@ArtificialOwl
Copy link
Member Author

/backport to stable31

@provokateurin provokateurin merged commit 349cc7b into master May 8, 2025
209 of 223 checks passed
@provokateurin provokateurin deleted the fix/52060/manage-download-on-federated-reshare branch May 8, 2025 06:07
@gdnmhr
Copy link

gdnmhr commented May 8, 2025

@ArtificialOwl I think Nextcloud 30 is affected by the same issue (at least the symptoms are identical). Any plans to backport to version 30 as well?

@ArtificialOwl
Copy link
Member Author

/backport to stable30

@provokateurin
Copy link
Member

/backport to stable29

@nextcloud nextcloud deleted a comment from backportbot bot Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Federated sharing and re-sharing no longer works

5 participants