server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: No error/warning when sharing a folder to another user without READ permission

Open Ivansss opened this issue 7 months ago • 0 comments

⚠️ This issue respects the following points: ⚠️

Bug description

When a user shares a folder to another user in Nextcloud and removes READ permission when creating the share, the share is successfully created with READ permission but no warning or error is shown to the user. User might think that READ permission is disabled but it is indeed enabled for that folder.

Steps to reproduce

  1. User A shares folder A with user B and removes READ permission when creating the share

Expected behavior

The share is not created and there is an error saying something like "READ permission is needed for this share" or The share is created but there is a warning saying something like "READ permission has been added because it is needed for this share"

Installation method

None

Nextcloud Server version

28

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

Ivansss avatar Jun 28 '24 15:06 Ivansss