• Brion Vibber's avatar
    Background deletion of user accounts. Notices are deleted in chunks, then the... · 441e5271
    Brion Vibber authored
    Background deletion of user accounts. Notices are deleted in chunks, then the user itself when they're all gone.
    While deletion is in progress, the account is locked with the 'deleted' role, which disables all actions with rights control.
    
    Todo:
    * Pretty up the notice on the profile page about the pending delete. Show status?
    * Possibly more thorough account disabling, such as disallowing all use for login and access.
    * Improve error recovery; worst case is that an account gets left locked in 'deleted' state but the queue jobs have gotten dropped out. This would leave the username in use and any undeleted notices in place.
    441e5271
Profile_role.php 2.5 KB