Skip to content

[Bug]: Cannot view online (browser) viewable files (image, mp3, mp4, pdf...) without download permission #41686

@artonge

Description

@artonge

⚠️ This issue respects the following points: ⚠️

Bug description

In internal shares, when download permission is disabled, the user cannot view a .pdf file.

Steps to reproduce

  1. Create a folder with a .pdf file in it
  2. Create an internal share of that folder
  3. Remove the download permission
  4. As the recipient, try to open the .pdf in the viewer.

Expected behavior

The .pdf file should be viewable.
Viewing files in a public link, with the hide download option enabled, work as expected.

Installation method

None

Nextcloud Server version

master

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions