# Locking Posts (preventing users from undoing staff edits)

**URL:** https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111
**Category:** Announcements
**Tags:** moderation
**Created:** [January 26, 2018, 7:40pm UTC](https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111 "2018-01-26T19:40:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [January 26, 2018, 7:40pm UTC](https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111/1 "2018-01-26T19:40:21Z")

</div>

As of [this commit](https://github.com/discourse/discourse/commit/6b04967e2f0962514fe8b7db7b83ba38789e85ff) 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](https://global.discourse-cdn.com/meta/original/3X/2/1/21d03d99f14c08f4dd6f89ca55a0bccfa339fe37.png)

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](https://global.discourse-cdn.com/meta/original/3X/3/0/308e5439fb2fb2140c0fefefc35a102b92a16200.png)

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

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [January 29, 2018, 7:58pm UTC](https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111/4 "2018-01-29T19:58:16Z")

</div>

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

 ![32](https://global.discourse-cdn.com/meta/original/3X/a/d/ad5f155f2b455cc964d5c4dbd1cc44e02c7174ef.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 29, 2018, 9:29pm UTC](https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111/5 "2018-01-29T21:29:44Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Onth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/onth/32/127834_2.png) [@Onth](https://meta.discourse.org/u/Onth)
#### Post date: [December 30, 2018, 8:51am UTC](https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111/6 "2018-12-30T08:51:48Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 30, 2018, 8:59am UTC](https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111/7 "2018-12-30T08:59:42Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 30, 2018, 9:04am UTC](https://meta.discourse.org/t/locking-posts-preventing-users-from-undoing-staff-edits/79111/10 "2018-12-30T09:04:08Z")

</div>


