Skip to content

fix(share): Prevent type error caused by non-existing user - #62872

Merged
AndyScherzinger merged 1 commit into
masterfrom
carl/accept-share-hardening
Aug 4, 2026
Merged

fix(share): Prevent type error caused by non-existing user#62872
AndyScherzinger merged 1 commit into
masterfrom
carl/accept-share-hardening

Conversation

@CarlSchwan

@CarlSchwan CarlSchwan commented Aug 4, 2026

Copy link
Copy Markdown
Member

Summary

When using the auto_groups app, it is currently adding user back to the Everyone group when trying to delete the user, which then tries to accept the group share again with an user that doesn't exist.

Here is a proper fix for the auto_groups app: jo23sh/auto_groups#94 but it doesn't hurt to also harden server.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan CarlSchwan added this to the Nextcloud 35 milestone Aug 4, 2026
@CarlSchwan CarlSchwan self-assigned this Aug 4, 2026
@CarlSchwan
CarlSchwan requested a review from a team as a code owner August 4, 2026 09:45
@CarlSchwan CarlSchwan added the 3. to review Waiting for reviews label Aug 4, 2026
@CarlSchwan
CarlSchwan requested review from come-nc, nfebe, salmart-dev and sorbaugh and removed request for a team August 4, 2026 09:45
@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable34

@CarlSchwan

Copy link
Copy Markdown
Member Author

/backport to stable33

@szaimen szaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM but didnt test

@AndyScherzinger
AndyScherzinger merged commit 0926d62 into master Aug 4, 2026
265 of 267 checks passed
@AndyScherzinger
AndyScherzinger deleted the carl/accept-share-hardening branch August 4, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants