iconnewmedia-de / moodle-block_thi_learning_companions_mygroups

Block Plugin for Moodle that allows users to create groups and chat with eachother to discuss their topics. Requires local_learnincompanions
Other
0 stars 0 forks source link

missing privacy api #3

Open danmarsden opened 6 months ago

danmarsden commented 6 months ago

Moodle uses a privacy API for GDPR compliance to allow plugins to specify how they deal with user data. Your plugin doesn't appear to store any user data so you should be able to implement the simple null provider class.

Sites that use continuous integration processes will not be able to use your plugin because Moodle runs unit tests which check to see if all extra plugins include the privacy class.

More information on the privacy class is here: https://moodledev.io/docs/apis/subsystems/privacy

volodymyrdovhan commented 9 hours ago

In addition to Dan's comment, the Privacy API should be implemented even if the plugin is not collecting any information about the user: https://moodledev.io/docs/4.5/apis/subsystems/privacy#implementation-requirements.

You can review any standard Moodle block plugin code to see how the Privacy API is implemented for other blocks.