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

Fix listing directory for a read-only shares for EOS storage driver #3786

Merged
merged 2 commits into from
Apr 11, 2023

Conversation

gmgigi96
Copy link
Member

In a read-only share, while listing a folder, for resources not having a version folder, the returned resource id was wrongly the one of the original file, instead of the version folder. This was causing problems for example in the open in app.
Even if the driver was trying to create a version folder, this was done on behalf of the recipient, which does not have enough permissions to create a resource in the folder.

This behavior has been fixed in this PR, where the version folder is always created on behalf of the resource owner, fixing the issue.

@gmgigi96 gmgigi96 requested a review from a team as a code owner April 11, 2023 11:31
@cs3org cs3org deleted a comment from update-docs bot Apr 11, 2023
@labkode labkode merged commit 93eca10 into cs3org:master Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants