Skip to content

Commit

Permalink
Merge pull request #18 from ilios/privacy-provider
Browse files Browse the repository at this point in the history
adds privacy provider.
  • Loading branch information
stopfstedt authored May 23, 2024
2 parents 123fd39 + fc72cb4 commit 7d279d9
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
42 changes: 42 additions & 0 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Privacy Subsystem implementation for filter_ucsfezproxy.
*
* @package tool_ilioscategoryassignment
* @copyright The Regents of the University of California
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
namespace tool_ilioscategoryassignment\privacy;

use core_privacy\local\metadata\null_provider;
/**
* Privacy Subsystem for tool_ilioscategoryassignment implementing null_provider.
*
* @package tool_ilioscategoryassignment
* @copyright The Regents of the University of California
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class provider implements null_provider {

/**
* {@inheritdoc}
*/
public static function get_reason(): string {
return 'privacy:metadata';
}
}
1 change: 1 addition & 0 deletions lang/en/tool_ilioscategoryassignment.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
$string['noassignableroles'] = 'There are currently no roles that can be used for assignment.';
$string['notfound'] = '[[ not found (id = {$a} ]]';
$string['pluginname'] = 'Ilios category assignment';
$string['privacy:metadata'] = 'The Ilios category assignment plugin does not store any personal data.';
$string['secret'] = 'Ilios secret';
$string['secret_desc'] = 'Enter the secret string generated by your Ilios server here.';
$string['selectcategory'] = 'Select category';
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2024032200; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2024052300; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2023100400; // Requires this Moodle version
$plugin->component = 'tool_ilioscategoryassignment'; // Full name of the plugin (used for diagnostics)
$plugin->release = 'v4.3';
Expand Down

0 comments on commit 7d279d9

Please sign in to comment.