makinacorpus / DbToolsBundle

A Symfony bundle to backup, restore and anonymize your data
https://dbtoolsbundle.readthedocs.io
MIT License
180 stars 15 forks source link

Anonymization filter on table #171

Open pounard opened 5 months ago

pounard commented 5 months ago

This is an issue for this comment: https://github.com/makinacorpus/DbToolsBundle/issues/138#issuecomment-2145158948

The idea is to allow anonymized table (or entity) to be filtered using user given conditions.

If I understood correctly @maxhelias use case, which is anonymizing some user table, but skipping some accounts anonymization (for example, your maintenance very special account, or people that will tests the QA version accounts).

This is a legit use case, we intend to find some elegant solution for this, although there are a few constraints:

So, here are a few ideas: