Closed ewallah closed 3 years ago
Hi @ewallah
In the “Minutes before” configuration, it can be configured from 0 to 120 minutes before the event starts and, after the event starts, the information that the student was notified is removed from the database. This information remains in the database for a maximum of 2 hours and that is why I did not find it necessary to make it available in a metadata provider.
Still, in this scenario, would I have to implement this provider?
Hi Rone,
Personally I do not know, I'm not a lawyer.
In Moodle the grade_import_newitem and grade_import_values tables are reported but not exported/deleted because their data is temporary and only used during an import (the content is deleted after a successful, or failed, import). Perhaps Frédéric Massart can explain why this reporting is needed and the export/delete can be skipped.
Anyhow I would update the 'privacy:metadata' string and mention that this plugin only temporarly stores ids of users. Perhaps you could change the field userid into tempid so the Moodle PHPUnit checks do not detect the field.....
Hi @ewallah
Adjusted provider. See if the test passes now.
HI Rone,
All tests pass! THX a million.
The table googlemeet_notify_done stores ids of users. This info is considered private and has to be covered with a metadata provider. So you have to provide a way to export and delete this data.
Perhaps there is another way to collect which users were already notified using Moodle core databases.
PHPUnit output: