Fix: Revert masking the content field

Masking does not meaningfully improve privacy (the second half of the
content is stored in full), it does not save space (the asterisks are
stored as string in the database) and it breaks the expectation that the
auditlog can actually be used to audit changes.

This partly reverts #6388 (05b1ff9738201cafd7dea2cba4d9e5395b1e33da)

Resolves #6961
This commit is contained in:
Felix Eckhofer 2024-06-12 11:35:00 +02:00
parent d03058e539
commit fd64b43e72
No known key found for this signature in database
GPG Key ID: B4543DCDE458BF73

View File

@ -929,7 +929,6 @@ if settings.AUDIT_LOG_ENABLED:
auditlog.register(
Document,
m2m_fields={"tags"},
mask_fields=["content"],
exclude_fields=["modified"],
)
auditlog.register(Correspondent)