Skip to content
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

REPORT doesn't expose permissions for files in space #6525

Closed
AlexAndBear opened this issue Jun 14, 2023 · 2 comments · Fixed by #6528
Closed

REPORT doesn't expose permissions for files in space #6525

AlexAndBear opened this issue Jun 14, 2023 · 2 comments · Fixed by #6528
Assignees
Labels

Comments

@AlexAndBear
Copy link
Contributor

Describe the bug

DAV Report doesn't expose permissions for files in spaces

DAV Report example:

response

<d:multistatus xmlns:s="http://sabredav.org/ns" xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns"><d:response><d:href>/remote.php/dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$2828c5a7-fdb6-4309-a2fb-28e5e77e362d/lololol.txt</d:href><d:propstat><d:prop><oc:fileid>1284d238-aa92-42ce-bdc4-0b0000009157$2828c5a7-fdb6-4309-a2fb-28e5e77e362d!28ed4cd5-acb0-44ff-8ad4-06ec541a6f04</oc:fileid><oc:file-parent>1284d238-aa92-42ce-bdc4-0b0000009157$2828c5a7-fdb6-4309-a2fb-28e5e77e362d!2828c5a7-fdb6-4309-a2fb-28e5e77e362d</oc:file-parent><oc:name>lololol.txt</oc:name><d:getlastmodified>2023-06-14T08:23:20Z</d:getlastmodified><d:getcontenttype>text/plain</d:getcontenttype><oc:permissions></oc:permissions><oc:tags></oc:tags><d:getetag></d:getetag><d:resourcetype></d:resourcetype><d:getcontentlength>0</d:getcontentlength><oc:score>6.175330638885498</oc:score></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>

permissions is empty

Steps to reproduce

Steps to reproduce the behavior:

Expected behavior

A clear and concise description of what you expected to happen.

Actual behavior

A clear and concise description of what happened.

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

@SwikritiT
Copy link
Contributor

SwikritiT commented Jun 22, 2023

@SagarGi
Copy link
Member

SagarGi commented Jun 26, 2023

Backport this #6609 PR to stable-3.0. Moving it to done.

The backport PR is here #6622
But as this bug wasn't fixed in stable-3.0 so the permission is not checked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants