ocis
ocis copied to clipboard
copy file from shares shared by secure view role to personal space results in 500 status code error.
Describe the bug
Copying files from shared shares via the secure view role results in a 500 status code.
Steps to reproduce
- Create a new user
test
- Share the folder
folder1
from Admin via Secure Role totest
. - Sharee tries to copy share to personal space
curl -vk --location --request COPY 'https://host.docker.internal:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668/folder1' --header 'Destination: https://host.docker.internal:9200/remote.php/dav/spaces/6fac54b6-feef-4157-abc5-02f79550dcff%24a7322a1c-b091-4ec4-8687-c9358f4bf196/folder1' -utest:test
Expected behavior
What should be the expected status code for the process? This only happens in secure view. File copying is possible while sharing with other permission role
Actual behavior
The server returns 500 status code
Setup
OCIS_XXX=Infinite Scale 6.0.0+5f03a566ee Community
OCIS_YYY=somevalue
PROXY_XXX=somevalue