Prevent account deletions when account is linked to a Plaid Item #2218
Reference in New Issue
Block a user
Delete Branch "zachgoll/fix-plaid-account-sync-transactional-bug"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Previously, we allowed users to delete accounts that were "linked" to a Plaid Item.
To ensure valid data states, this PR forces users to delete the PlaidItem all at once, or not at all.
To disable accounts within a Plaid item, the user must toggle the
active/inactiveswitch instead of the deleting the account entirely.