# Verrouiller un post dans la console

**URL:** <https://meta.discourse.org/t/locking-a-post-in-the-console/106410>\
**Category:** Development\
**Created:** [Janvier 13, 2019, 11:15 UTC](https://meta.discourse.org/t/locking-a-post-in-the-console/106410 "2019-01-13T11:15:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)\
**Post date:** [Janvier 13, 2019, 11:34 UTC](https://meta.discourse.org/t/locking-a-post-in-the-console/106410/4 "2019-01-13T11:34:18Z")

</div>

> [@fhe](#):
>
> I just realize that locking posts is something different. You can set the `post.locked_by_id` but I guess you’re not creating a logged staff action in that case.

Can a logged staff action be created in the console?

---

_[View the full topic](https://meta.discourse.org/t/locking-a-post-in-the-console/106410)._
