server
server copied to clipboard
[Bug]: No error/warning when sharing a folder to another user without READ permission
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct.
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
- 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