Moodle plugins directory: makeanonymous | Moodle.org
makeanonymous
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.
Since version 0.4 you can also anonymize users which you have deleted in the past (before using the plugin).
Requirements
Moodle 2.4, 2.5, 2.6, 2.7 or 2.8
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.5 (2014121200)
- the plugin now uses the new task and event apis
0.4 (2014082802)
- you can now anonymize users which you have deleted in the past (before using the plugin)
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
This should actually be an admin tool. have you looked at how to create admin tools?
Some docs would be useful here too.
It would be nice to enable and disable this plugin too. (instead of uninstalling it)
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
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.
This Plugin seems to be very usefull to fullfill certain requirements of the European DSGVO (2018).
It is already mostly used with newer versions of Moodle (3.5+).
I believe an update would be greatly appreciated. Even if it only confirms compatibilty.
With regards
Axel