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

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
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