Skip to content

Commit db7a119

Browse files
author
David Monllao
committed
Merge branch 'MDL-61873-34' of git://github.com/cescobedo/moodle into MOODLE_34_STABLE
2 parents 6a670f9 + 935d2c9 commit db7a119

File tree

20 files changed

+424
-0
lines changed

20 files changed

+424
-0
lines changed

auth/cas/classes/privacy/provider.php

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_cas.
18+
*
19+
* @package auth_cas
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_cas\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_cas implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/cas/lang/en/auth_cas.php

+2
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,5 @@
7474
$string['noldapserver'] = 'No LDAP server configured for CAS! Syncing disabled.';
7575
$string['pluginname'] = 'CAS server (SSO)';
7676
$string['synctask'] = 'CAS users sync job';
77+
$string['privacy:metadata'] = 'The CAS server (SSO) authentication plugin does not store any personal data.';
78+

auth/db/classes/privacy/provider.php

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_db.
18+
*
19+
* @package auth_db
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_db\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_db implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/db/lang/en/auth_db.php

+2
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,5 @@
7070
$string['auth_dbuserstoadd'] = 'User entries to add: {$a}';
7171
$string['auth_dbuserstoremove'] = 'User entries to remove: {$a}';
7272
$string['pluginname'] = 'External database';
73+
$string['privacy:metadata'] = 'The External database authentication plugin does not store any personal data.';
74+
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_email.
18+
*
19+
* @package auth_email
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_email\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_email implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/email/lang/en/auth_email.php

+1
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@
2828
$string['auth_emailrecaptcha_key'] = 'Enable reCAPTCHA element';
2929
$string['auth_emailsettings'] = 'Settings';
3030
$string['pluginname'] = 'Email-based self-registration';
31+
$string['privacy:metadata'] = 'The Email-based self-registration authentication plugin does not store any personal data.';
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_ldap.
18+
*
19+
* @package auth_ldap
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_ldap\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_ldap implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/ldap/lang/en/auth_ldap.php

+2
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,5 @@
165165
// Deprecated since Moodle 3.4.
166166
$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\'';
167167
$string['auth_ldap_creators_key'] = 'Creators';
168+
$string['privacy:metadata'] = 'The LDAP server authentication plugin does not store any personal data.';
169+

auth/lti/classes/privacy/provider.php

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_lti.
18+
*
19+
* @package auth_lti
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_lti\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_lti implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/lti/lang/en/auth_lti.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@
2424

2525
$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.';
2626
$string['pluginname'] = 'LTI';
27+
$string['privacy:metadata'] = 'The LTI authentication plugin does not store any personal data.';
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_mnet.
18+
*
19+
* @package auth_mnet
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_mnet\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_mnet implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/mnet/lang/en/auth_mnet.php

+1
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@
3535
$string['sso_sp_description'] = 'Publish this service to allow authenticated users from {$a} to access your site without having to re-login. <ul><li><em>Dependency</em>: You must also <strong>subscribe</strong> to the SSO (Identity Provider) service on {$a}.</li></ul><br />Subscribe to this service to allow your users to roam to the {$a} site without having to re-login there. <ul><li><em>Dependency</em>: You must also <strong>publish</strong> the SSO (Identity Provider) service to {$a}.</li></ul><br />';
3636
$string['sso_sp_name'] = 'SSO (Service Provider)';
3737
$string['pluginname'] = 'MNet authentication';
38+
$string['privacy:metadata'] = 'The MNet authentication plugin does not store any personal data.';
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_nologin.
18+
*
19+
* @package auth_nologin
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_nologin\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_nologin implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/nologin/lang/en/auth_nologin.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@
2424

2525
$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 <em>suspend</em> user accounts.';
2626
$string['pluginname'] = 'No login';
27+
$string['privacy:metadata'] = 'The No login authentication plugin does not store any personal data.';
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?php
2+
// This file is part of Moodle - http://moodle.org/
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
/**
17+
* Privacy Subsystem implementation for auth_none.
18+
*
19+
* @package auth_none
20+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
21+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
22+
*/
23+
namespace auth_none\privacy;
24+
defined('MOODLE_INTERNAL') || die();
25+
/**
26+
* Privacy Subsystem for auth_none implementing null_provider.
27+
*
28+
* @copyright 2018 Carlos Escobedo <carlos@moodle.com>
29+
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30+
*/
31+
class provider implements \core_privacy\local\metadata\null_provider {
32+
/**
33+
* Get the language string identifier with the component's language
34+
* file to explain why this plugin stores no data.
35+
*
36+
* @return string
37+
*/
38+
public static function get_reason() : string {
39+
return 'privacy:metadata';
40+
}
41+
}

auth/none/lang/en/auth_none.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@
2424

2525
$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.';
2626
$string['pluginname'] = 'No authentication';
27+
$string['privacy:metadata'] = 'The No authentication plugin does not store any personal data.';

0 commit comments

Comments
 (0)