pypi / warehouse

The Python Package Index
https://pypi.org
Apache License 2.0
3.51k stars 940 forks source link

Implement admin tools for account recovery #11787

Open di opened 2 years ago

di commented 2 years ago

To make it easier for PyPI admins & moderators to process account recovery requests, there are few things we can do to make it possible for any admin/moderator to handle these requests and make it self-service as much as possible.

Regardless of improvements, we'll still require that a human in the loop does the final review before resetting access to the account. We'll also need to handle edge cases where a project doesn't have a public source repository.

Open questions:

ref: https://github.com/pypa/pypi-support/issues/796

di commented 1 year ago

After chatting with @ewdurbin: Two things that have the biggest impact:

woodruffw commented 1 year ago

an admin button for disabling all 2FA, recovery codes for the user.

Doing this now.

woodruffw commented 1 year ago
  • [ ] Notify co-maintainers, publish an event (possibly publicly)

Should this be another set of emails? If so, I can add it to https://github.com/pypi/warehouse/issues/13234.