MDL-49795 file: Add missing metadata providers for file_conversion

This commit is contained in:
Kevin Pham
2022-08-03 15:17:05 +10:00
parent c0e329a781
commit 027b6f73d6
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -73,6 +73,12 @@ class provider implements
'timemodified' => 'privacy:metadata:files:timemodified',
], 'privacy:metadata:files');
// Regarding this block, we are unable to export or purge this data, as
// it would damage the file conversion data across the whole site.
$collection->add_database_table('file_conversion', [
'usermodified' => 'privacy:metadata:file_conversion:usermodified',
], 'privacy:metadata:file_conversions');
$collection->add_subsystem_link('core_userkey', [], 'privacy:metadata:core_userkey');
return $collection;
+2
View File
@@ -25,6 +25,8 @@
defined('MOODLE_INTERNAL') || die();
$string['privacy:metadata:file_conversions'] = 'A record of the file_conversions performed by a user';
$string['privacy:metadata:file_conversion:usermodified'] = 'The user who started the file conversion.';
$string['privacy:metadata:files'] = 'A record of the files uploaded or shared by users';
$string['privacy:metadata:files:author'] = 'The author of the file\'s content';
$string['privacy:metadata:files:contenthash'] = 'A hash of the file\'s content';