-
Notifications
You must be signed in to change notification settings - Fork 42
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
[Bug]: [NC24.0.4] Remove the "Allow Download" permission on the shared folder and the PDF file will no longer be readable. #645
Comments
when download is disabled, we should remove the PDF viewer option because there is currently no way to display a PDF without actually downloading it cc @CarlSchwan |
If Nextcloud Office is installed it should be possible to open with Collabora |
@Raudius yes, there was a discussion about that but not sure about effort required to make it work |
Hmmm. https://github.com/nextcloud/files_pdfviewer/blob/master/templates/viewer.php#L283-L288 Whether this is a good idea or not. I forced the download and printout elements to be removed in the browser's development tools, which resulted in the following menu |
in the case of the viewer it would be a good idea to remove the actions from the UI when the download permission is not given yes |
Just for the record and for search engines:
|
Are there any updates on this? |
bump |
follow up in #649 |
Steps to reproduce
Expected behaviour
PDF files can be viewed but should be displayed as forbidden for download.
Actual behaviour
Errors are displayed when viewing PDF files.
Server configuration
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.0
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version:
24.0.3 to 24.0.4
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
Additional info
No response
Client configuration
Browser:
Vivaldi :5.4.2753.33 (Stable channel) (64-bit)
Operating system:
Windows 10
Logs
Nextcloud Logs
Browser log
The text was updated successfully, but these errors were encountered: