Removal of backfill script for "in_discord" false role, "in_discord" field in user's data and replacing "in_discord" with NOT "archived" in codebase #1966
Currently, there is a backfill script in place that adds the "in_discord" role with a value of false to all existing users. With a robust verification process in place, this script is no longer needed. Also, as discord features were built over time "in_discord" and "archived" fields for users have been in flip state i.e when "in_discord" false, archived "true" and vice versa. Hence, the "in_discord" field is now redundant, needs to be replaced with NOT "archived" in all its occurrences in codebase. Further, the "in_discord" field is to be removed from each users' data.
Expected Behavior
Backfill script safely removed, NOT "archived" in use in codebase in place of "in_discord", "in_discord" field removed from users' data.
Current Behavior
Backfill script here is a redundant piece of code and not in use any more. "in_discord" field has become a redundant field with "archived" more in use.
Screenshots
N/A
Reproducibility
[ ] This issue is reproducible
[x] This issue is not reproducible
Steps to Reproduce
N/A
Severity/Priority
[ ] Critical
[ ] High
[x] Medium
[ ] Low
Additional Information
This issue is based on and an extension of an old open issue #1404
Checklist
[x] I have read and followed the project's code of conduct.
[x] I have searched for similar issues before creating this one.
[x] I have provided all the necessary information to understand and reproduce the issue.
[x] I am willing to contribute to the resolution of this issue.
Issue Description
Currently, there is a backfill script in place that adds the "in_discord" role with a value of false to all existing users. With a robust verification process in place, this script is no longer needed. Also, as discord features were built over time "in_discord" and "archived" fields for users have been in flip state i.e when "in_discord" false, archived "true" and vice versa. Hence, the "in_discord" field is now redundant, needs to be replaced with NOT "archived" in all its occurrences in codebase. Further, the "in_discord" field is to be removed from each users' data.
Expected Behavior
Backfill script safely removed, NOT "archived" in use in codebase in place of "in_discord", "in_discord" field removed from users' data.
Current Behavior
Backfill script here is a redundant piece of code and not in use any more. "in_discord" field has become a redundant field with "archived" more in use.
Screenshots
N/A
Reproducibility
Steps to Reproduce
N/A
Severity/Priority
Additional Information
This issue is based on and an extension of an old open issue #1404
Checklist