-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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]: File copy action is visible even though user doesn't have permission #37729
Comments
cc @skjnldsv |
Which version is it starting from? |
I don't know. I assume it's always been this way.
Yes, on latest master.
oc:permissionsSG</oc:permissions> for the files oc:permissionsSGD</oc:permissions> for the folder containing them |
Seems like this line is to blame server/apps/files/js/fileactions.js Line 685 in 1a25537
|
…have update permissions fixes #37729 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Seems like the permission error stems from here: https://github.com/nextcloud/server/blob/master/apps/dav/lib/DAV/ViewOnlyPlugin.php |
Bug description
File copy action is displayed even if the user doesn't have necessary permissions. Trying to copy the shared file is still getting rejected properly.
Steps to reproduce
Expected behavior
Expected results : Should not see Copy action
Installation method
Community Docker image
Nextcloud Server version
master
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: