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

trashbin of guest is empty when guest deletes a file/folder with files_trashbin not whitelisted #553

Open
PrajwolAmatya opened this issue Mar 9, 2023 · 3 comments
Assignees
Labels

Comments

@PrajwolAmatya
Copy link
Contributor

PrajwolAmatya commented Mar 9, 2023

Steps to reproduce

  1. set the guests whitelist so that files_trashbin is not in the whitelist
  2. user Alice creates a folder temp and shares it with a new guest user [email protected]
  3. guest user uploads a file textfile.txt
  4. guest user deletes file textfile.txt
  5. guest user views the trashbin

Expected behaviour

textfile.txt to be available on trashbin

Actual behaviour

trashbin of guest user is empty

File textfile.txt deleted by the guest user is only available on the trashbin of user Alice

Also, guest users are able to delete shared files when files_trashbin app is not whitelisted. While trying to delete a shared file via UI a guest user cannot delete shared files when files_trashbin app is not whielisted.

@phil-davis
Copy link
Contributor

@PrajwolAmatya see issue #525
In that issue reported that the file deleted by the guest does not appear in any trashbin (even Alice does not see the file in her trashbin)

Please confirm exactly what is the current behavior. Then we can all discuss what the requirement should be.

@PrajwolAmatya
Copy link
Contributor Author

@phil-davis currently when the shared file is deleted by the guest user then the file does not appear in any trashbin. But when a folder is shared to the guest user by Alice and the files inside that folder is deleted by guest user it is available in the trashbin of Alice.

@SwikritiT SwikritiT added the bug label Mar 20, 2023
@SwikritiT
Copy link
Contributor

SwikritiT commented Mar 20, 2023

TODO QA Team

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

No branches or pull requests

3 participants