# 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:** 7

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [December 7, 2021, 2:14pm UTC](https://meta.discourse.org/t/partial-read-only-mode/210401/7 "2021-12-07T14:14:34Z")

</div>

I used `NewPostManager.add_handler`, it seems like the `:validate_post` event only notifies and does not present the opportunity to return a result and deny the post.

Here’s a plugin which disables posting with the flick of a button: [GitHub - communiteq/discourse-prevent-posting · GitHub](https://github.com/communiteq/discourse-prevent-posting)

## Configuration

Go to Admin - Plugins - discourse-prevent-posting - Settings

`prevent posting enabled` : enable the plugin and prevent new posts from being made.

`prevent posting message` : message to show as global notice when the plugin is enabled.

`prevent posting allow pms` : if enabled, PM’s are allowed.

---

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