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

[stable29] fix: Apply checks on shares in the middleware #6488

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Oct 1, 2024

Backport of #6485

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@max-nextcloud max-nextcloud marked this pull request as ready for review October 1, 2024 20:01
Comment on lines -119 to +122
if (count($this->rootFolder->getUserFolder($userId)->getById($documentId)) === 0) {
if ($this->rootFolder->getUserFolder($userId)->getFirstNodeById($documentId) === null) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Originally from #5933 - included here for consistency (we also use getFirstNodeById below).

@provokateurin provokateurin merged commit a7e2022 into stable29 Oct 1, 2024
63 checks passed
@provokateurin provokateurin deleted the backport/6485/stable29 branch October 1, 2024 20:41
@Altahrim Altahrim mentioned this pull request Oct 2, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants