I hope this message finds you well. First of all, I would like to express my appreciation for the excellent work on [Plugin Name]. It has been an invaluable tool for managing my project.
I am writing to kindly request the addition of a feature to the plugin that would enhance its integration with Cloudflare R2 or other similar storage solutions. Specifically, I would like to suggest the implementation of a mechanism to automatically delete files stored in the R2 bucket when associated posts or content are deleted within the plugin.
This functionality is crucial for compliance with data protection laws, such as the GDPR and LGPD, ensuring that files are not retained unnecessarily once they are no longer linked to active content. It would also provide users with greater confidence in the security and management of their data.
For example, the feature could use Cloudflareβs S3-compatible API to trigger a deletion event whenever a post or file is removed from the system. In pseudo-code, the logic could look something like this:
if post_deleted: r2.delete_file(bucket_name, file_name)
This automation would significantly improve the plugin's usability and align it with best practices for data management.
I understand that implementing this may require additional effort, but I believe it would add tremendous value to the plugin for many users. Please let me know if this is feasible or if further details are needed. I am happy to assist with any information or testing if necessary.
Thank you for considering this request, and I look forward to your response.
Best regards,
Christian Costa
If you delete a post or comment in the Community, the associated media files will be deleted from the Cloudflare R2 or S3 as well. Please note that, FluentCommunity delete the files as a background job and it will be deleted within 1-2 hours time.