privacy_repository
class privacy_repository extends abstract_repository implements privacy_repository_interface
| internal |
Concrete Privacy Repository implementation.
Acts directly on the database to extract and anonymize massive amounts of user data fulfilling GDPR/LGPD requirements.
Methods
Appends all contexts where the user has data to the given contextlist.
Exports the user data under the contexts specified.
Deletes all data for all users in a specific context.
Deletes data for a specific user across one or more contexts.
Details
at line 41
void
add_contexts_for_userid(int $userid, contextlist $contextlist)
Appends all contexts where the user has data to the given contextlist.
at line 69
void
export_user_data(approved_contextlist $contextlist)
Exports the user data under the contexts specified.
Must write to core_privacy\local\request\writer.
at line 117
void
delete_data_for_all_users_in_context(context $context)
Deletes all data for all users in a specific context.
at line 132
void
delete_data_for_user(approved_contextlist $contextlist)
Deletes data for a specific user across one or more contexts.