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:
parent
d03058e539
commit
fd64b43e72
@ -929,7 +929,6 @@ if settings.AUDIT_LOG_ENABLED:
|
||||
auditlog.register(
|
||||
Document,
|
||||
m2m_fields={"tags"},
|
||||
mask_fields=["content"],
|
||||
exclude_fields=["modified"],
|
||||
)
|
||||
auditlog.register(Correspondent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user