-
Notifications
You must be signed in to change notification settings - Fork 25
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 contributor hours when account banned #212
Comments
Quick Question: What if an account is banned temporarily? |
That's a good question. I think most bans are permanent, but in a case where one isn't it should be easy to re-enter the hours/teams. The rest of their profile data would still be in tact. There's definitely a trade-off there, but it seems better to me than having inaccurate data, or adding more complexity to account for the status of accounts, etc. What do you think? |
Yes, AGree with your point. let's not make it complex, the complex one may confuse the user, whom to include and whom to ignore. The temporary ban is once in a while, we can handle them manually. If the account user will reach out in case of lost data, we can request them for cooperation. |
Another approach would be to reset the hours when they're about to be sent an inactivity email (#27), instead of immediately. That'd give folks some time to resolve temporary bans, and it'd also make this apply retroactively to folks who have already been banned. |
AFAIK The emails shouldn't go out, as I believe we block outgoing emails to banned accounts. Due to how we ban accounts, and how a permanent ban is the same as a temporary ban, calling the Perhaps, the company details / available people list, should just be re-calculated regularly and accounts that are marked as unavailable (ie. banned) get skipped during that process. |
Are you referring to the Extending that to also short-circuit mail to |
2880d80 stopped the emails, but didn't delete the hours/teams data or anything else. |
When an account is banned, we could automatically remove their contributor hours/teams/company data. That would immediately clear them off team roster and help team reps find active folks easier, and it'd prevent them getting the "inactivity" emails later on.
remove_contributor()
could be called for company-sponsored folks, andreset_contribution_data()
directly for self-sponsored folks.Alternatively we could just prevent the emails from being sent to them, and let the future automated deletion process from #169 remove them.
The text was updated successfully, but these errors were encountered: