# Partial read-only mode

**URL:** <https://meta.discourse.org/t/partial-read-only-mode/210401>\
**Category:** Feature\
**Tags:** read-only\
**Created:** [November 29, 2021, 1:46pm UTC](https://meta.discourse.org/t/partial-read-only-mode/210401 "2021-11-29T13:46:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [November 30, 2021, 1:47am UTC](https://meta.discourse.org/t/partial-read-only-mode/210401/2 "2021-11-30T01:47:40Z")

</div>

A plugin + site setting should do the trick.

> <https://github.com/discourse/discourse/blob/20b2a42f491c2633323a4db0c5b43c5b2f31324b/lib/post_creator.rb#L192-L192>

Maybe try the validate\_post hook, add a custom validation that returns “no good” if the site setting sets it to readonly.

---

_[View the full topic](https://meta.discourse.org/t/partial-read-only-mode/210401)._
