投稿を完全に削除する機能の紹介

Discourse で投稿が削除されると、ソフトデリートを実行します。これは、管理者が後で復元できるように、投稿がデータベースにまだ存在することを意味します。削除された投稿に機密情報が含まれており、データベースから完全に削除する必要がある場合、ソフトデリートでは不十分です。これらの状況に対応するため、投稿を完全に削除する機能が導入されました。

この機能は、投稿が破壊されると復元できないという危険性から、非表示のサイト設定の下で実装されました。追加の保護メカニズムとして、投稿は、削除した管理者によって 5 分経過した後、または別の管理者によって即座に完全に削除できます。前提条件が満たされなかったために投稿が削除できない場合、エラーメッセージが表示されます。

当社でホストされているサイトの場合は、当社にご連絡いただければ有効にします。セルフホストの場合は、有効にするにはコンソール (rails c) に入力し、サイト設定の値を変更する必要があります。

SiteSetting.can_permanently_delete = true
「いいね!」 76
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