← Back to team overview

mahara-contributors team mailing list archive

[Bug 1760767] A change has been merged

 

Reviewed:  https://reviews.mahara.org/8753
Committed: https://git.mahara.org/mahara/mahara/commit/2dbbe1fbe0c7fe0aeab288bd85a9ecd1940eb6cb
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    master

commit 2dbbe1fbe0c7fe0aeab288bd85a9ecd1940eb6cb
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Thu Mar 29 13:52:14 2018 +1300

Bug 1760767: Create a cli script to allow for bulk delete of users from
commandline

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: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1760767

Title:
  Create a cli script to allow for bulk delete of users from commandline

Status in Mahara:
  Fix Committed

Bug description:
  Create a cli script to allow for bulk delete of users from commandline
  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 To allow a server admin to clean up a site

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1760767/+subscriptions


References