-
Notifications
You must be signed in to change notification settings - Fork 87
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(trash): Fix deleting items from public share with write access #3604
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💚 thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it makes sense. If an anonymous user deleted a file from a public share, then we should say so and not accuse the owner of the public share.
Maybe using a placeholder like "anonymous public user" would be better?
@kyteinsky Can you test the behavior when using |
When no user in session, use an empty string as deleted_by, which shows as "Unknown" in the UI. Signed-off-by: Côme Chilliet <[email protected]>
b293363
to
574c909
Compare
maybe we can also change the term "Unknown" to "Anonymous Public User" like @artonge suggested? Or "Unknown" is fine too. |
When no user in session, default to owner.
Fix #3544 hopefully.