如何完全删除帖子?

Hey there!

I want to remove a post completely. For example can I delete post shown below? I don’t want to see this deleted post shown in red, even if they’re only visible to staff. (If you wondered why I want to remove it, because I have obsession.)

I think discourse is a very pleasant forum software. But sometimes it makes me laugh. I can do a lot of thing as an admin, but I can’t delete post completely… What a contradiction! :blush:

2 个赞

We get support requests from time to time asking us to fully delete posts from the database. The most common case is that a user has uploaded an attachment to a post that contains sensitive information. It also happens when a user has posted sensitive information in a topic. When we get these requests, we fully delete the post from the site’s Rails console.

For the case where the post can stay, but some details need to be removed, I’m wondering if this can be safely handled with the “Hide Revision” functionality:

For example, if a sensitive document had been uploaded to the post, would editing the upload out of the post and then selecting “Hide Revision” take care of all security concerns?

我们现在有了 can_permanently_delete 设置,您可以使用它从 UI 中永久删除帖子和帖子修订。 :partying_face:

您可以在此处阅读更多相关信息:

2 个赞