Your Moodle version

General plugins (Local): makeanonymous

local_eledia_makeanonymous
Maintained by Picture of Matthias Schwabe Matthias Schwabe
This plugin anonymizes data of deleted users, optionally with a delay time.

Overview
After deleting a user his data will become anonymous.
Firstname, surname, city, country and auth method of anonymized users can be set up.
Anonymized usernames will be a hash value of old username and deleting time with prefix 'deletedUser_'.

Anonymized e-mail addresses will be the new username with surfix '@delet.ed'.

You can also delay the anonymization by setting up a delay time.


Requirements
Moodle 2.4, 2.5 or 2.6


Installation
The zip-archive includes the same directory hierarchy as moodle.
So you only have to copy the files to the correspondent place.
Copy the folder eledia_makeanonymous to moodle/local/eledia_makeanonymous.
The langfiles normaly can be left into the folder moodle/local/eledia_makeanonymous/lang.
All languages should be encoded with utf8.

After it you have to run the admin-page of moodle (http://your-moodle-site/admin)
in your browser. You have to loged in as admin before.
The installation process will be displayed on the screen.
That's all.


Administration
You can setup the plugin by going to
Site administration --> Plugins --> Local plugins --> makeanonymous.


Version control

0.3 (2013082800)
- set timestamps to 0
- added anonymization of remaining database fields
- added option to edit auth method of anonymized users


0.2 (2013070202)
- added option to enable/disable the plugin

0.1 (2013032800)
- first release

Screenshots

Screenshot

Contributors

Picture of Matthias Schwabe
Matthias Schwabe (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Thu, May 16, 2013, 5:45 PM
    Matthias, thanks for this. it installs fine here smile
    This should actually be an admin tool. have you looked at how to create admin tools?
    Some docs would be useful here too.
  • MD shot of me from his iphone4
    Fri, May 17, 2013, 10:47 AM
    This works great!
    It would be nice to enable and disable this plugin too. (instead of uninstalling it)
  • Picture of Matthias Schwabe
    Tue, Jul 2, 2013, 8:10 PM
    I added this option to the new version, thanks for the advice!
  • Ralf Krause - Germany
    Mon, Aug 12, 2013, 12:39 AM
    Hi Matthias,

    this is a very useful tool but you could make it better!

    You must delete the content of really all user profile fields. If you do not then a user will not become anonymous. Your tool writes new anonymous names but all the profile fields (description, image_alt, icq, skype, aim, phone, idnumber, institution, department and address) will not be changed. Also you have to look for additional user fields in a Moodle side where an admin can write some code.

    What do you think about the time stamps ... the best thing would be to set the time stamps to 0.

    Ralf
  • Picture of Matthias Schwabe
    Wed, Aug 28, 2013, 5:58 PM
    Hi Ralf,

    thanks for your notes.
    The aim was to anonymize user details which are visible in Moodle.
    The plugin now anonymizes also the remaining database fields, the time stamps will be set to 0.

    Additional user fields will be deleted by Moodle already.
Please login to post comments