GithubHelp home page GithubHelp logo

moodle-tool_inactive_user_cleanup's Introduction

moodle-tool_inactive_user_cleanup

This plugin deletes or anonymizes long time inactive or suspended user accounts.

Usage

Put the directory inactive_user_cleanup within your moodle/admin/tool/ dir. Go to the admin panel and have the plugin database update itself. You will now be able to access Server -> User Cleanup (admin/tool/inactive_user_cleanup/).

Menu

Interface

There are multiple options for admins to consider. You can setup the time in days after what period users will be filtered and processed. Next you will see the field Days before deletion, this is inportant if you want to warn your users before removing them from the database.

  • The default is -1, we will not send the user a notification and just process its account.
  • You can add 0 if you do not want to process the user further but want to notify him / her.
  • Adding a number triggers a waiting period after notifications were sent to the user.

The next checkbox allows to filter applicable users, either by inactivity as in last login or by suspension state. Last you can choose if the normal moodle deletion routine is triggered or userdata is kept but anonymized after expiration.

Further down you will see an input area for email subject and text. This notification will be sent to your users if applicable.

Usecases

The original authors Dualcube explain the plugin usage like this: In the first step admin user of the site setup days of inactivity and drafting notification mail for all users from the Site administration > Server > User Cleanup . If an inactive user is found he/she gets a notification mail. In second step if the user still has not accessed the moodle site within the time span which is mentioned in the notification mail. Then the deletion process starts. The particular inactive user account entry is removed with next run of this cleanup process which is automatically or manually run by cron process.

This plugin has been significally extended to be used by the ÖAMTC. Now it is possible to cleanup users that have been suspended for a long period of time and not only inactive users that have not logged in. Also we allow to keep anonymized user data as to not disturb statistical data. You can check the box to trigger the moodle delete function as well.

Authors

moodle-tool_inactive_user_cleanup's People

Contributors

michaelpollak avatar

Watchers

 avatar James Cloos avatar

moodle-tool_inactive_user_cleanup's Issues

Mail to all users

There has been a race condition after installing the plugin. When the cron job runs during setup empty mails are sent to all users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.