Open larsbonczek opened 3 months ago
Thinking about this, we should not delete journal entries rated by a given user, because this would also delete other user's data. They should still be included in the export, though. This appears to be what mod_assign does as well.
The privacy provider only supports exporting and deleting journal entries where the specified user appears in the
userid
column. However, theteacher
column also contains a user ID: The user who has rated the journal entry (and may have added a comment in the process).If you look at mod_assign, you will notice that they do export contexts based on the
grader
column in theassign_grades
table. This behavior needs to be replicated in mod_journal.