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

Add config to EOS fs for allowing recycle operations on arbitrary paths #2188

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

ishank011
Copy link
Contributor

In EOS fs, if we want to perform recycle operations on arbitrary paths, we check if the current user has appropriate permissions on the path, and if they do, impersonate the owner of the path.

This introduces a security issue that if a user tries to access the recycle bin associated with the path to a folder shared with them, reva will check that the user has access to that path and then allow them to list the recycle bin of the creator of the share. As a protection for this, we introduce a new config variable to allow such operations, so that these can only be enabled for storage providers which support shared spaces and not user homes.

@labkode labkode merged commit d094bb6 into cs3org:master Oct 21, 2021
gmgigi96 pushed a commit to cernbox/reva that referenced this pull request Oct 25, 2021
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