Skip to content

fix: Don't add user to group when deleting it - #94

Merged
jo23sh merged 1 commit into
jo23sh:masterfrom
CarlSchwan:carl/fix-adding-remoed-user
Aug 4, 2026
Merged

fix: Don't add user to group when deleting it#94
jo23sh merged 1 commit into
jo23sh:masterfrom
CarlSchwan:carl/fix-adding-remoed-user

Conversation

@CarlSchwan

@CarlSchwan CarlSchwan commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Context: I am investigating a bug where a user get deleted via OC\User\BackgroundJobs\CleanupDeletedUsers and first we remove the user from every groups before deleting it. But when it is getting deleted, it is getting readded to a group by this app which trigger another signal to the DefaultShareProvider to add it to a share which fails hard as the user is deleted and is no longer found.

@CarlSchwan
CarlSchwan force-pushed the carl/fix-adding-remoed-user branch from 9d916be to 0e38da3 Compare August 4, 2026 09:24
@CarlSchwan
CarlSchwan marked this pull request as draft August 4, 2026 09:26
@CarlSchwan
CarlSchwan force-pushed the carl/fix-adding-remoed-user branch 2 times, most recently from 9178a16 to efbbabd Compare August 4, 2026 09:40
@CarlSchwan
CarlSchwan marked this pull request as ready for review August 4, 2026 09:40
@CarlSchwan
CarlSchwan force-pushed the carl/fix-adding-remoed-user branch from efbbabd to ad6db99 Compare August 4, 2026 09:41
@CarlSchwan
CarlSchwan force-pushed the carl/fix-adding-remoed-user branch from ad6db99 to 5f20246 Compare August 4, 2026 09:50
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
@CarlSchwan
CarlSchwan force-pushed the carl/fix-adding-remoed-user branch from 5f20246 to f5b4a42 Compare August 4, 2026 10:02
@jo23sh
jo23sh merged commit f5458a2 into jo23sh:master Aug 4, 2026
7 checks passed
@CarlSchwan

Copy link
Copy Markdown
Contributor Author

Thanks for merging :) If you could do a new minor release with this patch I would make me very happy :)

@jo23sh

jo23sh commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Sure, many thanks for your improvements! What about #95 , will it land soon as well (so we should include it), or should I go ahead already?

@CarlSchwan

Copy link
Copy Markdown
Contributor Author

We can go ahead already. I'll do some more cleanup and finish #95 when I have time :)

@jo23sh

jo23sh commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Release 1.7.2 is published now. 馃槂 Thanks a lot for your contributions again. If you'd consider leaving a positive rating in the Nextcloud App Store, that would be nice. 馃槈

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants