How to handle a retention period for a non-user context with the Privacy API

How to handle a retention period for a non-user context with the Privacy API

by Mike Churchward -
Number of replies: 0
Picture of Core developers Picture of Plugin developers Picture of Testers

My plugin assigns data to various contexts (course, categories, groups, modules, etc.) that has no direct association to any user. But, I believe they need to honour the retention period rules of the privacy policy data registry.

For a user, the privacy API calls the "delete_data_for_all_users_in_context". What happens if there is no associated user?

So, if I have data connected to the module with no user association, and the module is deleted as a result of the retention period rules, how does my plugin know to delete its data?

mike

Average of ratings: -