Automatic User Lifecycle Management

Administration tools ::: tool_userautodelete
Maintained by Niels Gandraß
Automatically manages the full lifecycle of Moodle user accounts using freely configurable, multistep workflows. Various filters and actions are available and can easily be extended by custom subplugins.
Latest release:
129 sites
241 downloads
4 fans
Current versions available: 2

Automatic User Lifecycle Management

Latest Version PHP Support Moodle Support GitHub Workflow Status: Moodle Plugin CI Code Coverage GitHub Issues GitHub Pull Requests Maintenance Status License GitHub Stars GitHub Forks GitHub Contributors

This plugin manages the full lifecycle of Moodle user accounts using freely configurable, multistep workflows.

Each workflow can consist of multiple steps with one or more filters (e.g. last access, authentication method, role assignment, ...) that determine which users are selected, and actions (e.g. send email, suspend, delete, ...) that are executed when a user enters a step. This allows building simple as well as sophisticated user lifecycle workflows, i.e., warn inactive users, suspend them after a grace period, and finally delete their accounts in a GDPR-compliant way. A built-in dry-run mode and action log let administrators safely preview and audit all automated activity. The default filters and actions can easily be extended by further subplugins.

Features

  • Workflow-based user lifecycle management with freely configurable, multi-step workflows
  • User filter subplugins for effectively targeting users. Core filters available:
    • Authentication method
    • Cohort membership
    • Current Date
    • Last access to site
    • Role assignment
    • Suspension state
    • Time delay
  • Action subplugins to perform various operations. Core actions available:
    • Anonymize user account (GDPR compliance)
    • Delete user
    • Send mail to user
    • Suspend user
    • Unsuspend user
  • GDPR-compliant user account anonymization and deletion
  • Use of dynamic variables (e.g., user first and last names) in email templates
  • Dry-run mode to safely preview which users would be affected without taking any action
  • Action log to audit all sent mails, issued suspensions, and performed deletions
  • Highly configurable (time thresholds, email templates, ...)
  • Automated testing and support for all active Moodle releases

Documentation: installation, configuration and usage

You can find detailed installation, configuration, and usage instructions more in our comprehensive online documentation. A quickstart guide walks you through the installation and creation of your first workflow in just a few minutes.

Button: Official Documentation 

Reporting a bug or requesting a feature

If you find a bug or have a feature request, please open an issue via the GitHub issue tracker.

Please do not use the comments section within the Moodle plugin directory. Thanks smile

License

2026 Niels Gandraß niels@gandrass.de

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

Niels Gandraß (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments