mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-63924 privacy: Add shared user providers to subsytsems
This commit is contained in:
parent
a14a44ee13
commit
a07e8d7023
20 changed files with 80 additions and 23 deletions
|
@ -34,7 +34,10 @@ defined('MOODLE_INTERNAL') || die();
|
|||
*/
|
||||
interface portfolio_provider extends
|
||||
// The portfolio_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,
|
||||
|
||||
// The implementation for prtfolios is handled in the subsystem itself.
|
||||
\core_privacy\local\request\shared_userlist_provider {
|
||||
|
||||
/**
|
||||
* Export all portfolio data from each portfolio plugin for the specified userid and context.
|
||||
|
|
|
@ -45,7 +45,9 @@ class provider implements
|
|||
\core_privacy\local\request\plugin\provider,
|
||||
\core_privacy\local\request\core_userlist_provider,
|
||||
// The portfolio subsystem will be called by other components.
|
||||
\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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue