diff --git a/files/classes/privacy/provider.php b/files/classes/privacy/provider.php index efae2a97fd7..44c8694da89 100644 --- a/files/classes/privacy/provider.php +++ b/files/classes/privacy/provider.php @@ -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; diff --git a/lang/en/files.php b/lang/en/files.php index 8702327d026..d73ab1fc83b 100644 --- a/lang/en/files.php +++ b/lang/en/files.php @@ -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';