Implementing core_userlist_provider for Moodle 3.6+
andrewmadden opened this issue · 0 comments
andrewmadden commented
In Nov 2018, a new unit test was implemented requiring all plugins to implement \core_privacy\local\request\core_userlist_provider
in the classes/privacy/provider.php class. The intent is to adhere to GDPR.
Two methods need to be implemented:
/**
* Get the list of users who have data within a context.
*
* @param userlist $userlist The userlist containing the list of users who have data in this context/plugin combination.
*/
public static function get_users_in_context(userlist $userlist);
/**
* Delete multiple users within a single context.
*
* @param approved_userlist $userlist The approved context and user information to delete information for.
*/
public static function delete_data_for_users(approved_userlist $userlist);
Are there any plans to implement this?
Thanks