Skip to content

Allow disabling automatic restoration of deleted accounts - #23

Merged
stevebauman merged 1 commit into
masterfrom
fix/soft-delete-restoration-to-master
Nov 9, 2026
Merged

stevebauman merged 1 commit into
masterfrom
fix/soft-delete-restoration-to-master

Conversation

@stevebauman

Copy link
Copy Markdown
Member

I've added Bartender::dontRestoreSoftDeletedUsers() so applications can reject provider sign-ins for soft-deleted accounts without replacing the repository. Automatic restoration remains enabled by default.

This brings the already-reviewed changes from #22 onto master. That PR was merged into its original stacked base, fix/provider-identity, after #21 had already been squash-merged into master.

The full local suite passes: 56 tests.

* Allow disabling soft-deleted account restoration

* Combine identity conflict and deleted account lookups

* Restore separate deleted account and identity checks

* Cast provider_id to string for consistency

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Enforce deleted account policy during provider updates

* Rename soft-deleted user restoration opt-out

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
(cherry picked from commit 556bc0c)
@stevebauman
stevebauman merged commit 0d4d463 into master Nov 9, 2026
29 checks passed
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.

1 participant