Closed diox closed 10 months ago
Yes, separating the two is a good approach. Most important for admins is usually preventing future logins (and thus add-on submissions etc).
We can also evaluate what information we really need to clear. For example, if we disable all add-ons for a developer, their developer page should become unavailable (if it doesn't, we could start doing that), so we could still keep information like bio etc. The developer profile page for a user with unlisted add-ons only should probably also be unavailable (if it isn't already).
Generally, we could see what information we expose where and under what conditions and consider changing some of those, before we actually hard-delete information or change them in a way that isn't easily revertible.
This issue has been automatically marked as stale because it has not had recent activity. If you think this bug should stay open, please comment on the issue with further details. Thank you for your contributions.
We'll keep the single action and make everything reversible through the following issues:
Once those are done, we'll implement unbanning in this issue. It should undelete/undisable everything that was automatically deleted/disabled on ban, including any related content, the avatar etc.
Edit: I'll allow unbanning before mozilla/addons#9351 is finished, so initially the avatar deletion won't be reverted on unban. Everything else should. Note that content that was deleted/disabled before or after the ban should not be affected by an unban - we only need to restore what was automatically made inaccessible by the ban.
@diox
I unbanned user rusiczki.ioana+35@gmail.com on -dev
I checked what's been described above and I see the content back as it was so it looks good.
Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDSRV-20
Banning someone though the admin currently executes
ban_and_disable_related_content()
, which does the following:biography
,homepage
,location
- and anonymizes their username (can't be undone)Because many of these operations can't be undone, unbanning someone is technically possible, but doesn't restore the account back to their original state. We should fix this.
┆Issue is synchronized with this Jira Task