Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing core_userlist_provider for Moodle 3.6+ #30

Open
andrewmadden opened this issue Jul 3, 2019 · 0 comments
Open

Implementing core_userlist_provider for Moodle 3.6+ #30

andrewmadden opened this issue Jul 3, 2019 · 0 comments

Comments

@andrewmadden
Copy link

andrewmadden commented Jul 3, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant