Skip to content

Conversation

@icewind1991
Copy link
Member

fixes #3496

@icewind1991 icewind1991 added the 3. to review Items that need to be reviewed label Jan 17, 2025
@icewind1991 icewind1991 added this to the Nextcloud 31 milestone Jan 17, 2025
@icewind1991 icewind1991 requested review from a team, nfebe, provokateurin and yemkareems and removed request for a team January 17, 2025 15:02
@icewind1991
Copy link
Member Author

/backport to stable30

@icewind1991
Copy link
Member Author

/backport to stable29

Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but a test would be nice

@kyteinsky
Copy link

maybe this fix could be extended to this line too for when anonymous users try to delete files. See #3544

@icewind1991
Copy link
Member Author

$user is supposed to be the account doing the deletion, not the owner

@kyteinsky
Copy link

yeah, the $user is used for the value of deleted_by and assumed to be a valid user id at some places so it doesn't seem to be trivial to fix. Better to address that separately.

@AndyScherzinger
Copy link
Member

/backport to stable31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Items that need to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to delete a file/folder after switching to NC 30.0.4 and Group Folder 18.0.8 ("Delete file" action failed)

5 participants