alphagov/whitehall — pull request #121 by matthewford (2013-01-02 16:45:08+00:00)
Title: Migration to remove old users without email or uid

Keeps users who have editions published/pending/archived.

Keep important bot users

Also removing users with nil permissions

Could not just use sso email list as some users are duplicated (clean up would be needed) and some users are bots, but by checking on the uid we should be clearing most old users.