diff --git a/auth/cas/classes/privacy/provider.php b/auth/cas/classes/privacy/provider.php new file mode 100644 index 00000000000..f7d6f53dcdd --- /dev/null +++ b/auth/cas/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_cas. + * + * @package auth_cas + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_cas\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_cas implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/cas/lang/en/auth_cas.php b/auth/cas/lang/en/auth_cas.php index 7a2846c8935..4b8217ca8bb 100644 --- a/auth/cas/lang/en/auth_cas.php +++ b/auth/cas/lang/en/auth_cas.php @@ -74,3 +74,5 @@ $string['CASform'] = 'Authentication choice'; $string['noldapserver'] = 'No LDAP server configured for CAS! Syncing disabled.'; $string['pluginname'] = 'CAS server (SSO)'; $string['synctask'] = 'CAS users sync job'; +$string['privacy:metadata'] = 'The CAS server (SSO) authentication plugin does not store any personal data.'; + diff --git a/auth/db/classes/privacy/provider.php b/auth/db/classes/privacy/provider.php new file mode 100644 index 00000000000..c4008d1bdb4 --- /dev/null +++ b/auth/db/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_db. + * + * @package auth_db + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_db\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_db implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/db/lang/en/auth_db.php b/auth/db/lang/en/auth_db.php index 3b21d60fd48..1b8ece1f5ce 100644 --- a/auth/db/lang/en/auth_db.php +++ b/auth/db/lang/en/auth_db.php @@ -70,3 +70,5 @@ $string['auth_dbusernotexist'] = 'Cannot update non-existent user: {$a}'; $string['auth_dbuserstoadd'] = 'User entries to add: {$a}'; $string['auth_dbuserstoremove'] = 'User entries to remove: {$a}'; $string['pluginname'] = 'External database'; +$string['privacy:metadata'] = 'The External database authentication plugin does not store any personal data.'; + diff --git a/auth/email/classes/privacy/provider.php b/auth/email/classes/privacy/provider.php new file mode 100644 index 00000000000..8b410d3d4d3 --- /dev/null +++ b/auth/email/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_email. + * + * @package auth_email + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_email\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_email implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/email/lang/en/auth_email.php b/auth/email/lang/en/auth_email.php index 1170c8e2de5..596b4f7c822 100644 --- a/auth/email/lang/en/auth_email.php +++ b/auth/email/lang/en/auth_email.php @@ -28,3 +28,4 @@ $string['auth_emailrecaptcha'] = 'Adds a visual/audio confirmation form element $string['auth_emailrecaptcha_key'] = 'Enable reCAPTCHA element'; $string['auth_emailsettings'] = 'Settings'; $string['pluginname'] = 'Email-based self-registration'; +$string['privacy:metadata'] = 'The Email-based self-registration authentication plugin does not store any personal data.'; diff --git a/auth/ldap/classes/privacy/provider.php b/auth/ldap/classes/privacy/provider.php new file mode 100644 index 00000000000..3e09a1645ed --- /dev/null +++ b/auth/ldap/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_ldap. + * + * @package auth_ldap + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_ldap\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_ldap implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/ldap/lang/en/auth_ldap.php b/auth/ldap/lang/en/auth_ldap.php index 219996ec011..fce5a6c42c4 100644 --- a/auth/ldap/lang/en/auth_ldap.php +++ b/auth/ldap/lang/en/auth_ldap.php @@ -165,3 +165,5 @@ $string['useracctctrlerror'] = 'Error getting userAccountControl for {$a}'; // Deprecated since Moodle 3.4. $string['auth_ldap_creators'] = 'List of groups or contexts whose members are allowed to create new courses. Separate multiple groups with \';\'. Usually something like \'cn=teachers,ou=staff,o=myorg\''; $string['auth_ldap_creators_key'] = 'Creators'; +$string['privacy:metadata'] = 'The LDAP server authentication plugin does not store any personal data.'; + diff --git a/auth/lti/classes/privacy/provider.php b/auth/lti/classes/privacy/provider.php new file mode 100644 index 00000000000..b7d26de2e72 --- /dev/null +++ b/auth/lti/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_lti. + * + * @package auth_lti + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_lti\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_lti implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/lti/lang/en/auth_lti.php b/auth/lti/lang/en/auth_lti.php index b7c00ffa709..5c2db7bf5ca 100644 --- a/auth/lti/lang/en/auth_lti.php +++ b/auth/lti/lang/en/auth_lti.php @@ -24,3 +24,4 @@ $string['auth_ltidescription'] = 'The LTI authentication plugin, together with the \'Publish as LTI tool\' enrolment plugin, allows remote users to access selected courses and activities. In other words, Moodle functions as an LTI tool provider.'; $string['pluginname'] = 'LTI'; +$string['privacy:metadata'] = 'The LTI authentication plugin does not store any personal data.'; diff --git a/auth/mnet/classes/privacy/provider.php b/auth/mnet/classes/privacy/provider.php new file mode 100644 index 00000000000..3c79a2d6f17 --- /dev/null +++ b/auth/mnet/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_mnet. + * + * @package auth_mnet + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_mnet\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_mnet implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/mnet/lang/en/auth_mnet.php b/auth/mnet/lang/en/auth_mnet.php index 7084050c7a1..6fa6ff10156 100644 --- a/auth/mnet/lang/en/auth_mnet.php +++ b/auth/mnet/lang/en/auth_mnet.php @@ -35,3 +35,4 @@ $string['sso_mnet_login_refused'] = 'Username {$a->user} is not permitted to log $string['sso_sp_description'] = 'Publish this service to allow authenticated users from {$a} to access your site without having to re-login.
  • Dependency: You must also subscribe to the SSO (Identity Provider) service on {$a}.

Subscribe to this service to allow your users to roam to the {$a} site without having to re-login there.
  • Dependency: You must also publish the SSO (Identity Provider) service to {$a}.

'; $string['sso_sp_name'] = 'SSO (Service Provider)'; $string['pluginname'] = 'MNet authentication'; +$string['privacy:metadata'] = 'The MNet authentication plugin does not store any personal data.'; diff --git a/auth/nologin/classes/privacy/provider.php b/auth/nologin/classes/privacy/provider.php new file mode 100644 index 00000000000..d354e2f6c32 --- /dev/null +++ b/auth/nologin/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_nologin. + * + * @package auth_nologin + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_nologin\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_nologin implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/nologin/lang/en/auth_nologin.php b/auth/nologin/lang/en/auth_nologin.php index edb4c7979f8..3feac85a712 100644 --- a/auth/nologin/lang/en/auth_nologin.php +++ b/auth/nologin/lang/en/auth_nologin.php @@ -24,3 +24,4 @@ $string['auth_nologindescription'] = 'Auxiliary plugin that prevents user to login into system and also discards any mail sent to the user. Can be used to suspend user accounts.'; $string['pluginname'] = 'No login'; +$string['privacy:metadata'] = 'The No login authentication plugin does not store any personal data.'; diff --git a/auth/none/classes/privacy/provider.php b/auth/none/classes/privacy/provider.php new file mode 100644 index 00000000000..9e9720d77f7 --- /dev/null +++ b/auth/none/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_none. + * + * @package auth_none + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_none\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_none implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/none/lang/en/auth_none.php b/auth/none/lang/en/auth_none.php index a65dbd56091..a4ba89da5f5 100644 --- a/auth/none/lang/en/auth_none.php +++ b/auth/none/lang/en/auth_none.php @@ -24,3 +24,4 @@ $string['auth_nonedescription'] = 'Users can sign in and create valid accounts immediately, with no authentication against an external server and no confirmation via email. Be careful using this option - think of the security and administration problems this could cause.'; $string['pluginname'] = 'No authentication'; +$string['privacy:metadata'] = 'The No authentication plugin does not store any personal data.'; diff --git a/auth/shibboleth/classes/privacy/provider.php b/auth/shibboleth/classes/privacy/provider.php new file mode 100644 index 00000000000..374e3257f38 --- /dev/null +++ b/auth/shibboleth/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_shibboleth. + * + * @package auth_shibboleth + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_shibboleth\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_shibboleth implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/shibboleth/lang/en/auth_shibboleth.php b/auth/shibboleth/lang/en/auth_shibboleth.php index 8f57bc29696..44c01c040c1 100644 --- a/auth/shibboleth/lang/en/auth_shibboleth.php +++ b/auth/shibboleth/lang/en/auth_shibboleth.php @@ -57,3 +57,5 @@ $string['shib_no_attributes_error'] = 'You seem to be Shibboleth authenticated b $string['shib_not_all_attributes_error'] = 'Moodle needs certain Shibboleth attributes which are not present in your case. The attributes are: {$a}
Please contact the webmaster of this server or your Identity Provider.'; $string['shib_not_set_up_error'] = 'Shibboleth authentication doesn\'t seem to be set up correctly because no Shibboleth environment variables are present for this page. Please consult the README for further instructions on how to set up Shibboleth authentication or contact the webmaster of this Moodle installation.'; $string['pluginname'] = 'Shibboleth'; +$string['privacy:metadata'] = 'The Shibboleth authentication plugin does not store any personal data.'; + diff --git a/auth/webservice/classes/privacy/provider.php b/auth/webservice/classes/privacy/provider.php new file mode 100644 index 00000000000..5fc6c042ecd --- /dev/null +++ b/auth/webservice/classes/privacy/provider.php @@ -0,0 +1,41 @@ +. +/** + * Privacy Subsystem implementation for auth_webservice. + * + * @package auth_webservice + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +namespace auth_webservice\privacy; +defined('MOODLE_INTERNAL') || die(); +/** + * Privacy Subsystem for auth_webservice implementing null_provider. + * + * @copyright 2018 Carlos Escobedo + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class provider implements \core_privacy\local\metadata\null_provider { + /** + * Get the language string identifier with the component's language + * file to explain why this plugin stores no data. + * + * @return string + */ + public static function get_reason() : string { + return 'privacy:metadata'; + } +} \ No newline at end of file diff --git a/auth/webservice/lang/en/auth_webservice.php b/auth/webservice/lang/en/auth_webservice.php index 105fb9be317..22a4ddc288d 100644 --- a/auth/webservice/lang/en/auth_webservice.php +++ b/auth/webservice/lang/en/auth_webservice.php @@ -24,3 +24,4 @@ $string['auth_webservicedescription'] = 'This authentication method should be used for accounts that are exclusively for use by web service clients.'; $string['pluginname'] = 'Web services authentication'; +$string['privacy:metadata'] = 'The Web services authentication plugin does not store any personal data.';