-
Notifications
You must be signed in to change notification settings - Fork 311
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
Remove storage of the contact_info
in most entities and make it read-only on User storage
#6515
Comments
This requires a DB migration right? |
Indeed it does |
@adriansmares Indeed there is one change related to this that wasn't listed on the Updating Will create a issue for it and link it here. |
My view here is that the How this should work in my view is that given that:
When I get/list For updates, we should just ignore the Implementation wise in my view this means that basically after we The contents of the table itself can be fully deleted and discarded after we have settled the email validation saga for the users, in order to decouple it from the current contact info usage. |
Summary
With the replacement of the
ContactInfo
field for(Admin|Tech)Contacts
we should work to remove the field from most entities in the store.The exception would be the
user_store
since itsContactInfo
list was not affected by the migration done in #4996 and it might have useful information for some users. That being said the restriction on the usage of the field should still be imposed here, making it a read-only field.Current Situation
The
ContactInfo
field is deprecated and a user receives a warning every time a operation involves the field.Why do we need this? Who uses it, and when?
To restrict users who are still trying to use a deprecated field and to allow us to remove sections of the code before the major bump, making it easier down the road when we try to release a v4.
Proposed Implementation
LIst of propose changes and implementation:
1.1. Remove
ContactInfo
from the code of all entities with the exception ofUser
1.2. Make migration to remove
ContactInfo
rows that have anentity_type
other thanuser
user_registry
2.1. Make it read-only.
Contributing
Code of Conduct
The text was updated successfully, but these errors were encountered: