Database activity entries

Database activity entries

by Gordon Mills -
Number of replies: 4

Why don't Moodle database activity entries get deleted when the student is deleted?

Average of ratings: -
In reply to Gordon Mills

Re: Database activity entries

by William Lu -
Picture of Particularly helpful Moodlers
Yes, it is true. Because the data belongs to the users.
Please try to un-enrol your students from your courses, rather than delete them.
In reply to William Lu

Re: Database activity entries

by Gordon Mills -
No unenrolling the learner does not delete their database activity entry, I'm concerned as it potentially could be a GDPR issue
In reply to Gordon Mills

Re: Database activity entries

by William Lu -
Picture of Particularly helpful Moodlers
Hi Gordon,

Yes, you are correct. I just tested. Neither 'delete' nor 'unenrol' could make their entires disappear. Sorry, my reply before Christmas was in rush and I didn't test it that time.
In reply to Gordon Mills

Re: Database activity entries

by Daniel Thies -
Picture of Core developers Picture of Plugin developers Picture of Testers
I would assume that these are considered shared course data rather than student owned data. It is possible to set up databases where more than user edit the entries, rate or comment on them. Hence one can not assume a single users owns the content. Similarly the behavior happens in the forum activity where posts belong to discussions and are not deleted when a user is although the user's name and other profile info may be removed.