1
A supported way to transform model fields on write and read (encrypt / tokenize / redact)
Source: chatwoot/chatwoot#15868 · opened by @sashyo
Summary Add a small, opt-in registration point that lets a plugin transform selected model attributes on the way into Postgres and on the way back out, without editing the model classes. Declare which attributes a transformer owns, and Chatwoot applies it in the write path and the read path, passing the current request's agent so the transform can be role-aware. This is the seam for field-level encryption, tokenization, and role-based PII redaction of contacts and messages. It is deliberately vendor-neutral: the framework ships the registration point, not any particular crypto or provider. Motivation A support desk holds the data a breach is about: contact names, phone numbers, emails, and the full text of conversations. A growing number of self-hosted operators want some of those columns to be ciphertext at rest, or tokenized for compliance scope reduction, or redacted for agents without a role, while Chatwoot keeps working with plaintext in-request. Today there is n…
No pledges yet. Be the first to back this.
Comments
Similar requests
Can i check if basic package of WABA supported using 360dialog?
3 votes · 0 comments
The label of the read callback is not clear enough
1 vote · 0 comments
READ MESSAGE events Webhook or Status
4 votes · 0 comments
Would a Chatwoot support-ops agent plugin with Skills/evals be useful?
1 vote · 0 comments
Investigate the addition of Chatterbox (E2EE website live chat)
1 vote · 0 comments
No comments yet.