Added support for Odoo Filestore #368
Conversation
|
Thanks for the contribution! I’m not sure this is the right direction for Greenmask. On the one hand, I understand the core problem, but in this case it feels like we’re mixing heterogeneous sources from the side. From my point of view, this kind of integration is better handled through external automation/scripts rather than being built directly into Greenmask — unless we implement a dedicated engine inside Greenmask that is capable of pulling such data. I also don’t fully see how we can support this approach in the upcoming platform architecture and in the V1 branch. Before going further, it would really help to understand the broader use cases. If you could describe the business scenarios and explain why this functionality is needed beyond your specific environment, I’d appreciate it. |
wwoytenko
left a comment
There was a problem hiding this comment.
Waiting for the author’s clarification.
|
Hello @wwoytenko, thanks for the thorough review! Why this belongs inside Greenmask rather than in ad‑hoc scripts:
Happy to walk through more concrete workflows or anonymization requirements if that helps -- would really like to see this land upstream so we don’t fragment tooling in the ecosystem. |
The basic idea behind filestore anonymisation is reduction. Files containing sensitive information, such as invoices, will not be transferred to the testing system. Instead, a dummy invoice will be uploaded and linked using a post-data UPDATE statement.
Example YAML-Configuration:
Example of a Filestore-Keep-List:
The update script run after the database and (reduced) filestore have been restored: