Allow to unlink Monobank user from the system #211
Labels
need more info
Requires additional details
priority-2-medium
Medium priority
repo: backend
Related to back-end
repo: frontend
Related to front-end
type::enhancement
New feature or request
Milestone
We need to allow users to unlink the whole Monobank account from the system. While doing that, all the accounts should be kept and not removed, so that the history will remain and it will be possible to link integration back.
Backend additional implementation details:
monobank
accounts marked assystem
ones.addditionalData
original monobank external accountId.externalId
so that in the future we can link them back.Frontend additional details:
keep
and unselectedremove
.Also, when linking the Monobank account back, we need to compare if there were accounts that were related to that user earlier and ask the user to sync them. Otherwise, all statistics might be broken. Also, if the user entered some transactions manually to the account while it was unselected, we need to compare them with the existing transactions in history. Better will be to compare by date + amount, but might be good to compare by only amount. Also since all the Monobank transactions should be synced in 100% (there's no theoretical possibility of not having transactions that the user entered manually in Monobank DB), we might even mark unlinked transactions somehow specifically after the account linking, and ask the user to carefully review them to link. It can be implemented with that issue or in a separate one.
The text was updated successfully, but these errors were encountered: