Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional User Relationship #31

Open
drewroberts opened this issue Mar 10, 2021 · 1 comment
Open

Optional User Relationship #31

drewroberts opened this issue Mar 10, 2021 · 1 comment
Assignees

Comments

@drewroberts
Copy link
Member

Contacts (#30) are created a null user_id. When the form is saved, the email field is used to check if the email address belongs to a User (TIPOFF/authorization#20) in the system. If it is, then the User is attached to the Contact.

There should also be a command in this package that can be run periodically to check the email addresses of Contacts with null user_id's to see if a user has since been created with that email. This command will attach the User.

@chx2
Copy link
Contributor

chx2 commented Mar 22, 2021

Due to the new structure of EmailAddress in #46, the attach user command will need to be refactored to reflect this change.

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

No branches or pull requests

2 participants