-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix file public link permissions if public upload is not enabled #32958
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 file public link permissions if public upload is not enabled #32958
Conversation
|
milestone was wrong, master is 25. |
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
/rebase |
ca48986 to
5b70820
Compare
|
PHPUnit failure:
|
…bled Signed-off-by: Julien Veyssier <[email protected]>
5b70820 to
66d09cc
Compare
Signed-off-by: Julien Veyssier <[email protected]>
66d09cc to
acc68e9
Compare
@artonge I duplicated this test to check this works with files and fails with folders. I also fixed the 3 other failing tests for which the share was just missing a target user and a Node. This is independent from the changes in this PR. |
|
Failure unrelated |
|
/backport to stable24 |
When "Administration -> Share -> Public upload" admin setting is disabled:
It makes perfect sense when sharing a directory but not when sharing a file which can then only be accessed in read-only by Text, NC Office and OnlyOffice.
If this is the intended behaviour, we should at least make it very explicit in the admin settings.