Skip to content

Commit e171dc6

Browse files
author
David Monllao
committed
Merge branch 'MDL-61873-master' of git://github.com/cescobedo/moodle
2 parents a5db58f + 6291e67 commit e171dc6

File tree

20 files changed

+420
-0
lines changed

20 files changed

+420
-0
lines changed

auth/cas/classes/privacy/provider.php

Lines changed: 41 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@
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.';

auth/db/classes/privacy/provider.php

Lines changed: 41 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,4 @@
6969
$string['auth_dbuserstoadd'] = 'User entries to add: {$a}';
7070
$string['auth_dbuserstoremove'] = 'User entries to remove: {$a}';
7171
$string['pluginname'] = 'External database';
72+
$string['privacy:metadata'] = 'The External database authentication plugin does not store any personal data.';
Lines changed: 41 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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.';
Lines changed: 41 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,4 @@
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.';

auth/lti/classes/privacy/provider.php

Lines changed: 41 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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.';

0 commit comments

Comments
 (0)