Locking Posts (preventing users from undoing staff edits)

AI-generated summary

Discourse has introduced a new feature allowing staff to lock posts, preventing authors from editing them after staff intervention. This addresses concerns about users reverting staff edits. Locking is done via the wrench menu, with a lock icon visible to staff and the post author. A new site setting, staff edit locks post, automatically locks posts after staff edits, useful for large forums. However, confusion has arisen over terminology, with users like erlend_sh and Onth noting that ‘lock’ may be misinterpreted as ‘closed’ (which typically means no new replies), whereas here it only prevents editing. codinghorror acknowledges the feature is rarely used and was added for a specific customer, expressing skepticism about its general utility and suggesting clearer naming, such as ‘Lock post editing’, to avoid confusion.

As of this commit Discourse staff members now have the ability to lock posts.

Locking a post prevents its author from editing it. Why would you want to do this? Sometimes a user posts something bad, so a staff member will go in and change it. Before this commit, there was no way to prevent a user from maliciously changing it back.

To lock a post, click the wrench under it and select “Lock Post”

image

When locked, a lock icon will be displayed on top of the post and the poster will not be able to edit it until it is unlocked.

image

Other Notes:

  • There is a new site setting staff edit locks post - if enabled then any time a staff member edits a non-staff user’s post it will lock it. This is meant for large forums where having each staff member lock every post after editing it would be tedious.

  • The lock icon is only visible to staff members and the creator of the post.

  • Staff members can always edit posts, even if they are locked.

Give it a whirl and let me know what you think!

29 Likes

I predict we’ll soon get moderators asking us what is the difference between “Closing a topic” and “Locking a post”. Couldn’t we at least spell the whole thing out as “Lock post editing”?

8 Likes

Maybe, I would wait to see if this actually happens before attempting to predict the future.

Hello from 11 months later. I was indeed confused by “lock” vs “closed” because “lock” is the terminology I am most familiar with from other forum software. I ended up having to go through all of my “locked” posts on my forum and change them to “closed” when the realization hit that “lock” here just means “lock from editing” not “lock from replies”. I agree with @erlend_sh here and urge you to reconsider the UX by being more explicit in the naming.

1 Like

It’s a very rarely used function. To be honest we only implemented it because a certain very large, very important customer demanded that we have it. I’m not really a fan of it as a general feature, and I’m not even sure it makes sense as implemented.

Anyway, it sounds like you misunderstood “closed” first, and this wouldn’t have made any difference in that case.

3 Likes