# Warn staff when action will override site restriction

**URL:** https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521
**Category:** Feature
**Created:** [2월 17, 2017, 1:47오전 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521 "2017-02-17T01:47:01Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2월 17, 2017, 1:47오전 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/1 "2017-02-17T01:47:01Z")

</div>

From time to time on Meta there are reports of new site staff being surprised by their ability to override site settings without warning. For example, staff can reply to closed topics, staff can post to #Uncategorized even if it is disabled in site settings, staff can more posts to a topic that the user cannot see, etc. ([An example](https://meta.discourse.org/t/discourse-allows-to-create-uncategorized-topics-even-when-allow-uncategorized-topics-is-unchecked/57454), [another example](https://meta.discourse.org/t/admin-mods-can-post-to-uncategorized-with-allow-uncategorized-topics-disabled/26469)).

I’d like to propose a [just-in-time](https://blog.codinghorror.com/the-just-in-time-theory/) warning that appears when staff are about to do this. Something like:

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

Here is a (non-exhaustive) list of actions where a similar warning would be useful:

- Replying in a closed/archived topic.
- Posting in the #Uncategorized category when uncategorized is disabled.
- Moving a user’s post to a topic the user cannot view.
- (Admin only) Posting in a PM the admin isn’t a participant in.

---

<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: [2월 17, 2017, 2:53오전 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/2 "2017-02-17T02:53:00Z")

</div>

We have no plans to implement this, and it is not on our roadmap for the foreseeable future. So you may want to put community PR tag on this or otherwise subsidize it.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2월 17, 2017, 2:33오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/3 "2017-02-17T14:33:40Z")

</div>

That seems like the kind of “are you sure” notice that serves as an annoyance such that responding in the affirmative is automatized.

For posting to uncategorized and moving a post to an unviewable topic, an after the fact message with an “undo” would be preferable. For replying to closed topic, a warning before the message is written seems like the solution and butting into a PM.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2월 17, 2017, 2:59오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/4 "2017-02-17T14:59:27Z")

</div>

I like to think that making mistakes is part of being human, at least that’s my excuse,  
I feel that when an action can be destructive, either irreversible or even only complicated to undo, then some type of “give pause” is good to have. For example, I might become annoyed e.g. “_yes_ I want to delete. l wouldn’t have clicked delete if I hadn’t wanted to! cheesh, stupid software”. But all those repeated confirm dialogs are no where near as annoying as clicking on something only to find out that I shouldn’t have clicked.

Creating a topic in Uncategorized is not destructive. True, it is a “bah, now it needs to be moved” that can be a bit irritating. I have done it before myself, I know. But at least for me, I often learn from my mistakes and after doing it once I now know to give a quick look at the category select to be sure the topic is going where I intend it to go.

Long story short, pick your battles.

---

<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: [2월 17, 2017, 5:09오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/5 "2017-02-17T17:09:29Z")

</div>

The idea is sound, and I really like @pfaffman’s iteration on it with non-intrusive heads-up notification.

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [2월 17, 2017, 8:44오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/6 "2017-02-17T20:44:37Z")

</div>

> [@jomaxro](#):
>
> Moving a user’s post to a topic the user cannot view.

This is possible for TL3 to do, as well, not just staff. Lounge is the typical place that a topic could be moved by TL3, but with more complicated categories (like paid access), there could be others, too.

---

<div class="post-metadata">

### Author: ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)
#### Post date: [10월 7, 2018, 8:46오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/7 "2018-10-07T20:46:29Z")

</div>

Great idea - can you add bypassing the tag limit too please? I am finding some staff members are accidentally posting topics without the required number of tags..

---

<div class="post-metadata">

### Author: ![wolftune](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftune/32/103569_2.png) [@wolftune](https://meta.discourse.org/u/wolftune)
#### Post date: [11월 4, 2018, 2:10오전 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/8 "2018-11-04T02:10:01Z")

</div>

Another vote for this. We just had a case of uncategorized postings by an admin. In our case, the admin is a designer who we trust and want to have access to the theme and related stuff. He’s not someone deeply engaged with all the administration of the forum. So, it’s not accurate to assume that any admin is effectively a forum expert who understands all the restrictions and appropriate actions.

---

<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: [11월 5, 2018, 12:00오전 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/9 "2018-11-05T00:00:53Z")

</div>

A minimal change here I support is:

1. IF `allow uncategorized topics` is set to **FALSE**
2. AND staff attempts to post in `uncategorized` OR recategorize to `uncategorized`
3. THEN post the nag window saying “You have disabled uncategorized, are you sure you want to do this”

However… @jomaxro can you confirm (2) is even technically possible now?

I am actually quite strongly against, general nagging of staff for

- posting on closed/archived
- posting in a PM admin is not a participant (should just auto add them)

Moving stuff around to places that can not be viewed is a “mixed maybe” for me.

I do not think this is #pr-welcome though cause it needs significantly more focus prior to pr welcome

---

<div class="post-metadata">

### Author: ![wolftune](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftune/32/103569_2.png) [@wolftune](https://meta.discourse.org/u/wolftune)
#### Post date: [11월 5, 2018, 5:03오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/11 "2018-11-05T17:03:59Z")

</div>

> [@sam](#):
>
> I am actually quite strongly against, general nagging of staff for
> 
> - posting on closed/archived
> - posting in a PM admin is not a participant (should just auto add them)

I don’t understand being strongly against nagging for those cases. I would very much specifically want those. And I’d hope it could at least be an _optional_ feature, at least if someone came along and contributed the update. Why would _allowing_ this option be bad at all? There’s otherwise _nothing_ at all to help admins notice when they are in those situations, so we can’t assume that it’s always intentional and self-aware.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [11월 5, 2018, 5:22오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/12 "2018-11-05T17:22:41Z")

</div>

In the specific case of “posting in a closed/archived topic”, this theme component can do the job. It should be possible to extend this to posting in specific categories and non-participating PMs, if you have someone to do the development work.

> [@Warn admins/tl4 when replying to closed topics](https://meta.discourse.org/t/warn-admins-when-replying-to-closed-topics/83912):
>
> [Admin Warnings Theme Component](https://github.com/davidtaylorhq/discourse-admin-warnings) https://github.com/davidtaylorhq/discourse-admin-warnings When admins click ‘reply’ on a closed topic, they will be warned. This helps to prevent admins accidentally continuing a closed/archived discussion (much to the frustration of other forum users!). Warning text is configurable as a theme setting. To install, follow the instructions here:

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [11월 5, 2018, 5:30오후 UTC](https://meta.discourse.org/t/warn-staff-when-action-will-override-site-restriction/57521/13 "2018-11-05T17:30:17Z")

</div>

> [@sam](#):
>
> However… @jomaxro can you confirm (2) is even technically possible now?

Staff can still post to `uncategorized`, they cannot recategorize to it.
