Introdução da funcionalidade de excluir postagem permanentemente

Quando uma postagem é excluída no Discourse, realizamos uma exclusão lógica. Isso significa que a postagem ainda está presente no banco de dados caso um administrador queira recuperá-la mais tarde. Uma exclusão lógica não é suficiente quando a postagem excluída contém informações confidenciais e deve ser completamente removida do banco de dados. Para essas situações, estamos introduzindo a capacidade de excluir permanentemente uma postagem.

Este recurso foi implementado sob uma configuração oculta do site devido ao quão perigoso ele pode ser; uma vez destruída, uma postagem não pode ser recuperada. Como um mecanismo de proteção adicional, as postagens podem ser excluídas permanentemente pelo mesmo administrador que excluiu a postagem somente após 5 minutos terem passado OU por um administrador diferente imediatamente. Se a postagem não puder ser excluída porque nenhuma das pré-condições foi atendida, uma mensagem de erro será exibida:

Se o seu site for hospedado por nós, entre em contato e nós o habilitaremos para você. Se você o hospeda sozinho, para habilitá-lo, você deve entrar no console (rails c) e alterar o valor da configuração do site:

SiteSetting.can_permanently_delete = true
76 curtidas
Admin Deleting Posts
How can I delete a topic permanently?
Permanent deletion bug
How to permanently delete a post?
Error when attempting to permanently delete as moderator
Permanent deletion: Is there a database command?
Copyright regarding creations with high level of creation and the right of deletion
Delete topics and posts final
Soft-delete override?
Deleted post is still there shown as a hidden post
Permanent deletion: Function not available
Re-use of `external_id` after a Topic is deleted
"There was an error deleting that topic. Please contact the site's administrator"
Introduce a way to also permanently delete the sensitive info from the staff logs
How to delete post permanently?
Permanent bulk delete of old topics
Deleted replies and topics - are they purged from db or do they stay forever in db?
How to make an undeleteable topic?
永久删除帖子后,其中的图片及其它附件也会被删除么?
Error during permanently deleting a post of a deleted user
Purge/clean/delete deleted topics from database
How can I permanently delete a topic with multiple posts?
Digital Online Safety
Enable setting to allow admins to permanently delete data
Add a warning when checking personal messages from a user public profile, as an admin
Does enabling Permanently Delete require a rebuild?
How to remove post completely?
Why is it not possible to permanently delete topics or posts?
Create list of links to all soft-deleted posts
Are there any performance or inconsistency issues when using Permanently Delete?
Permanent bulk delete of old topics
Deleting all posts in personal message not working
Hidden Settings on Discourse Hosted Sites
Final deletion does not work correctly