Open
Description
Problem
accounts
app has ability to have multiple e-mail addresses for UserModel
s.
When there are multiple servers doing transactions there might be times that records get duplicated.
Solution
This cannot be fixed automatically because it might be really hard to determine which one to
keep and which one to delete. Any wrong behavior will result with bad user experience.
As first step is to create a celery task that will search through user accounts and find duplicate email.
Flow
- Query all
User
records that have more than 1UserEmail
records. - If there are records returned go to step
3
. If there are no records go to step4
- If there are records, alert them in
#alerts-p2-danger
listing out email addresses and user IDs. Goto step5
a. It might be useful to also include a link for admin tools - Alert in
#alerts-p4-info
that there are no problematic tools. - End Task
Important variables to be determined
- Task schedule time
- Should it have an enabled setting?
- Slack alert channel names should be in settings?
- Record item string should be a setting to change project specific?
Metadata
Metadata
Assignees
Labels
No labels