Introducing permanently delete post functionality

When a post is deleted in Discourse, we perform a soft-delete. This means that post is still present in the database in case an administrator wants to recover it later. A soft-delete is not sufficient when the deleted post contains sensitive information and must be pruned from the database completely. For those situations, we are introducing the ability to permanently delete a post.

To use this feature, enable the can permanently delete setting. However, please be aware of the risks involved with this feature — as the setting name suggests, if you permanently delete a topic, post, or post revisions, there is no way to restore this content. As such, there are a few safeguards in place:

78 Likes
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?
Delete topics and posts final
Copyright regarding creations with high level of creation and the right of deletion
"There was an error deleting that topic. Please contact the site's administrator"
Permanent bulk delete of old topics
Introduce a way to also permanently delete the sensitive info from the staff logs
Deleted post is still there shown as a hidden post
How to delete post permanently?
Soft-delete override?
Permanent deletion: Function not available
Re-use of `external_id` after a Topic is deleted
Enable setting to allow admins to permanently delete data
How can I permanently delete a topic with multiple posts?
Deleting all posts in personal message not working
Digital Online Safety
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
Final deletion does not work correctly
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
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?
永久删除帖子后,其中的图片及其它附件也会被删除么?
Hidden Settings on Discourse Hosted Sites

A post was split to a new topic: Introduce a way to also permanently delete the sensitive info from the staff logs

14 posts were split to a new topic: Where is the option to permanently delete?

A small update on the functionality of this feature…

You can now also permanently delete post revisions when this setting is enabled. :partying_face:

This can be done from the Revision History by first hiding the revision, and then the option to ‘Delete revisions’ appears:

16 Likes

We have updated this feature to make the can permanently delete setting visible to admins. This means you no longer need to contact the Discourse team or use the console to manage this setting.

However, we have added a few additional safeguards to make sure admins are completely aware of the risks of this feature:

Note: If the same admin is performing the soft delete and permanent delete, they still must wait 5 minutes between these actions.

11 Likes