Skip to content
  • Robert Lyon's avatar
    Bug 1760767: Create a cli script to allow for bulk delete of users from commandline · 2dbbe1fb
    Robert Lyon authored
    
    
    To allow a server admin to clean up a site
    
    The script should be able to:
    - delete all users that have never logged in (created by admin)
    - and/or delete all users that have not logged in since a certain date
    - and/or delete only those users from a certain institution
    
    The script has a 'dryrun' flag set to false by default to allow one to
    check how many users will be deleted before actually doing the deletion
    
    TODO
    - do more checks
    
    behatnotneeded
    
    Change-Id: Ie73eb2daa6e8e1ae52d560ebcd149fec886d204c
    Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
    2dbbe1fb