Nullmann / moodle-plagiarism_programming

A plugin that integrate MOSS and JPlag to Moodle and provide other useful features
0 stars 0 forks source link

Integrate Moodle Privacy API #27

Closed Nullmann closed 5 years ago

Nullmann commented 5 years ago

As this tool saves users'personal data, the API point should be implemented: https://docs.moodle.org/dev/Privacy_API

Especially local files and the table "plagiarism_programming_reslt" need to be adressed.

Nullmann commented 5 years ago

Testing is made easier with these scripts: https://gist.github.com/luukverhoeven/c53e5585a9d059cf61537f6d7f37863a https://docs.moodle.org/dev/Privacy_API/Utilities

Nullmann commented 5 years ago

There is a problem when we want to delete a specific user: As we store our results on a per-comparison-basis, each row contains 2 different user ids. Like this, deleting one userid might influence the max similarity of another user.

An alternative could be to switch the userid with the id of the guest user. But this would result in duplicate userid's and confusion for teachers.

roessling commented 5 years ago

Is it possible to flag a user ID as a "former user" (if the user has been deleted), so that the similarity stays as it was (until a new scan is done)?

Nullmann commented 5 years ago

When a user requests the deletion of his/her data (which has to be approved by the privacy officer), this seems to be equivalent to manually deleting the user. As such, no standard Moodle functions will return this student anymore.