# Allow only posting to subcategories

**URL:** https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210
**Category:** Support
**Created:** [August 8, 2020, 5:43pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210 "2020-08-08T17:43:47Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![dennisma](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@dennisma](https://meta.discourse.org/u/dennisma)
#### Post date: [August 8, 2020, 5:43pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210/1 "2020-08-08T17:43:47Z")

</div>

Want to allow users to post to subcategory only and not into the category itself. For example, I have a category called ‘Classes’ with subcategories as the various classes underneath.

Classes

- Adv Algorithms
- Arduino Programming
- Raspberry Pi
- OpenCV…

It doesn’t make sense to post directly in the ‘Classes’ as that is generic term… I **ONLY** want them to post in the subcategories.

I can set permissions but that still allows them to start posting in Classes and doesn’t give an error until they actually attempt to submit the post,

I’m sure this has been asked before and I searched but I could not see it asked this way.

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [August 8, 2020, 5:49pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210/2 "2020-08-08T17:49:18Z")

</div>

Hello! :discourse:

I believe you will find this topic helpful

> [@Understanding groups and category permissions](https://meta.discourse.org/t/how-to-use-category-security-settings-to-create-private-categories/87678):
>
> bookmark This guide explains how to manage category visibility and user permissions using groups in Discourse. person_raising_hand Required user level: Administrator Groups and category permissions are crucial for managing access and content creation within your Discourse community. This guide will help you understand how to use these features effectively. Summary Category permissions control visibility and user actions Permissions are managed through group access lists Different perm…

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [August 8, 2020, 5:51pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210/3 "2020-08-08T17:51:53Z")

</div>

Hello and welcome to meta! Glad to see you here. 👋

Are you sure you can’t set the permissions for the parent category so they are viewable only by the users you want to limit access to? You would put them in a group and then give that group read access but not read and write access. If they are seeing that category in the composer as an option then maybe there’s a bug, or maybe they need to do a hard refresh in the web browser after you change the category permissions.

---

<div class="post-metadata">

### Author: ![dennisma](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@dennisma](https://meta.discourse.org/u/dennisma)
#### Post date: [August 8, 2020, 5:58pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210/4 "2020-08-08T17:58:07Z")

</div>

You are correct… I had to perform a CTRL-F5 in Chrome. After that the New Topic button could not be selected.

Thanks that makes it work!

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [August 8, 2020, 5:59pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210/5 "2020-08-08T17:59:25Z")

</div>

Woohoo! Nice job. ✨

---

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [August 8, 2020, 9:53pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210/6 "2020-08-08T21:53:02Z")

</div>

I would also recommend hiding the new topic button in that category, it caused a lot of confusion on my site having it there but greyed out. Just add this css and change the category slug, I assumed your slug was classes.

```plaintext
body.category-classes #create-topic {
    display: none !important;
}

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 7, 2020, 9:53pm UTC](https://meta.discourse.org/t/allow-only-posting-to-subcategories/160210/7 "2020-09-07T21:53:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
