Introduce un metodo per eliminare anche in modo permanente le informazioni sensibili dai log del personale

Just a bump: our recent commit has enabled Discourse to automatically clean up sensitive log messages when they are permanently deleted.

Anyway, the log can be also deleted with rails c like this:

UserHistory.where(post_id: xxx).destroy_all
# or topic:
UserHistory.where(topic_id: xxx).destroy_all
5 Mi Piace