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
Delete topics and posts final
Copyright regarding creations with high level of creation and the right of deletion
Permanent deletion: Is there a database command?
Permanent deletion: Function not available
Soft-delete override?
How to delete post permanently?
"There was an error deleting that topic. Please contact the site's administrator"
Permanent bulk delete of old topics
Deleted post is still there shown as a hidden post
Re-use of `external_id` after a Topic is deleted
Introduce a way to also permanently delete the sensitive info from the staff logs
Deleted replies and topics - are they purged from db or do they stay forever in db?
How to make an undeleteable topic?
How can I permanently delete a topic with multiple posts?
Error during permanently deleting a post of a deleted user
Purge/clean/delete deleted topics from database
Permanent bulk delete of old topics
Are there any performance or inconsistency issues when using Permanently Delete?
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
Digital Online Safety
Deleting all posts in personal message not working
Hidden Settings on Discourse Hosted Sites
Final deletion does not work correctly