fix: Load preview URL for download-disabled shares#2484
Open
susnux wants to merge 1 commit into
Open
Conversation
4 tasks
skjnldsv
force-pushed
the
fix/hide-download-correctly
branch
2 times, most recently
from
September 15, 2024 09:27
8f0dfcc to
4263b72
Compare
nextcloud-command
force-pushed
the
fix/hide-download-correctly
branch
from
September 15, 2024 09:38
4263b72 to
86f71c2
Compare
skjnldsv
force-pushed
the
fix/hide-download-correctly
branch
from
September 15, 2024 09:58
86f71c2 to
8659a4c
Compare
An error occurred while trying to automatically change base from
fix/hide-download-correctly
to
master
September 15, 2024 10:56
susnux
marked this pull request as ready for review
October 28, 2024 18:44
susnux
force-pushed
the
fix/bring-back-no-download-shares
branch
from
October 29, 2024 09:27
ad15a91 to
ef4dc7d
Compare
skjnldsv
approved these changes
Oct 29, 2024
This was possible on Nextcloud 30 and previous due to a "bug": The `download` permission was simply not rejected for public shares, just a `hide` flag was set on the public share. Now the permissions are correctly set, so loading a preview is not possible. The work-around is to allow previews when the correct header is set. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
skjnldsv
force-pushed
the
fix/bring-back-no-download-shares
branch
from
January 14, 2025 11:51
ef4dc7d to
83a5ae1
Compare
Member
|
Still valid @susnux ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was possible on Nextcloud 30 and previous due to a "bug": The
downloadpermission was simply not rejected for public shares, just ahideflag was set on the public share.Now the permissions are correctly set, so loading a preview is not possible. The work-around is to allow previews when the correct header is set.