Open danmarsden opened 7 months ago
note this is not a blocker for plugins db approval.
Thanks for the feedback.
I added the privacy file under classes folder https://github.com/wafaahamdy/moodle-tool_resetpasswords/blob/approval_issues/classes/privacy/provider.php
Hi @wafaahamdy!
Taking a look at the provider, I think you also need to add the namespace there namespace tool_resetpasswords\privacy;
Also the DocBlock in https://github.com/wafaahamdy/moodle-tool_resetpasswords/blob/main/classes/privacy/provider.php#L18 should be something like: "Privacy Subsystem for tool_resetpasswords implementing null_provider."
Hope it helps!
Thanks @roland04
I added the namespace as well as the Doc block
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