Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative to this project: DbToolsBundle #209

Open
SimonMellerin opened this issue Feb 21, 2024 · 5 comments
Open

Alternative to this project: DbToolsBundle #209

SimonMellerin opened this issue Feb 21, 2024 · 5 comments

Comments

@SimonMellerin
Copy link

Like this project seems unmaintained,

If you are interested in anonymizing data on an Symfony project, you may be find what you need with the DbToolsBundle

@SebastienTainon
Copy link

SebastienTainon commented Mar 19, 2024

Like this project seems unmaintained,

If you are interested in anonymizing data on an Symfony project, you may be find what you need with the DbToolsBundle

Hello @SimonMellerin ! Your alternative looks promising, but can you anonymize a single entity with DbToolsBundle? And if so, how to do it?
The main usage of this bundle was to do:

$this->get('superbrave_gdpr.anonymizer')->anonymize($object);

to anonymize an entity on-the-fly e.g. when the user deletes his account.

Is there some API to do the same with DbToolsBundle? It seems to me that it only works with a batch update of the table (so anonymizing all the entities that it contains).

Thanks!

@SimonMellerin
Copy link
Author

Hi,

You're right, I read this project documentation a bit quickly.

The DbToolsBundle can only anonymize a backup file or a database but not a single entity. So, it doesn't suit your use case sorry.

@SebastienTainon
Copy link

Ok thanks, I think it would be a nice feature to add to your bundle! 👍 Perhaps adding a condition in the queries so that it can be called only on the table lines matching some specific fields, like id. I'm searching for an alternative to this bundle that is not maintained anymore.

@SimonMellerin
Copy link
Author

It could be! In the future, we plan to add a more friendly API to ease custom use of the lib. So this kind of feature can be considered .

Feel free to create an issue on the DbToolsBundle repo

@SebastienTainon
Copy link

Done! Thanks for you help 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants