ocis
ocis copied to clipboard
[PM] Users can write changes through an "upload" public link share
Describe the bug
OnlyOffice can write documents from a public link share with "Can upload" role.
Steps to reproduce
- As "admin", create
asdf/test.docxvia OnlyOffice - As "admin", create a public link to the folder asdf with
Can uploadrole (which states permissionsview, download and upload) - As anonymous, receive and follow the public link
- As anonymous, open
asdf/test.docxvia OnlyOffice - As anonymous, write some content into the file and leave the document again
- As "admin", see that the changes have been written to disk (e.g. by downloading the file after the lock has been released)
Expected behavior
"anonymous" should have a read only view or at least an error message when trying to save.
Actual behavior
"anonymous" can edit and save the document.