General developer forum

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

 
Picture of Mike Churchward
How to handle a retention period for a non-user context with the Privacy API
Core developersParticularly helpful MoodlersPlugin developersPlugins guardiansTesters

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: -