Closed Raudius closed 2 years ago
@pedropintosilva Here is the issue I was describing in the community call ;)
It was brought to my attention that DisableCopy
actually disables copy-pasting in the document, not copying the file.
Disabling UserCanNotWriteRelative
prevents writing files to the server. This also removes the "Save as" option :)
Describe the bug "Save as" menu option is available even when
DisableCopy
is true.This is the case when sharing files on Nextcloud with "Allow download" sharing option disabled.
To Reproduce Steps to reproduce the behavior:
Alice
shares file withBob
Alice
disables "Allow download" in the shareBob
opens the shared fileExpected behavior "Save as" option should not be available.
Actual behavior "Save as" option is available.
Nextcloud 25.0.0-beta1 & 24.0.4 Nextcloud office: 6.2.0 COOLWSD: 22.05.4.1
Additional context Sample response for
CheckFileInfo
operation in the described scenario. (GET /wopi/files/<file_id>
)