MDL-63924 privacy: Add shared user providers to subsytsems

This commit is contained in:
Andrew Nicols 2018-11-08 15:32:39 +08:00
parent a14a44ee13
commit a07e8d7023
20 changed files with 80 additions and 23 deletions

View file

@ -34,7 +34,8 @@ defined('MOODLE_INTERNAL') || die();
*/
interface plagiarism_user_provider extends
// The plagiarism_provider should be implemented by plugins which only provide information to a subsystem.
\core_privacy\local\request\plugin\subsystem_provider {
\core_privacy\local\request\plugin\subsystem_provider,
\core_privacy\local\request\shared_userlist_provider {
/**
* Delete all user information for the provided users and context.

View file

@ -40,7 +40,9 @@ class provider implements
\core_privacy\local\metadata\provider,
// The Plagiarism subsystem will be called by other components and will forward requests to each plagiarism plugin implementing its APIs.
\core_privacy\local\request\subsystem\plugin_provider {
\core_privacy\local\request\subsystem\plugin_provider,
\core_privacy\local\request\shared_userlist_provider
{
/**
* Returns meta data about this system.