The discussion centers on restricting users from posting directly in a parent category (e.g., ‘Classes’) and forcing them to post only in its subcategories (e.g., ‘Adv Algorithms’, ‘Arduino Programming’). dennisma initially noted that while permissions can be set, users still see the parent category as an option in the composer and only receive an error upon submission. ondrej shared a helpful link to Discourse’s meta guide on category security settings. tobiaseigen suggested setting the parent category’s permissions to read-only for specific user groups and noted that a browser hard refresh (Ctrl+F5) may be needed for changes to take effect. dennisma confirmed that after a hard refresh, the New Topic button became disabled, resolving the issue. tobiaseigen celebrated the fix. davidkingham added a UX improvement suggestion: hiding the greyed-out New Topic button entirely using CSS to avoid user confusion, offering a code snippet targeting the category slug (e.g., body.category-classes #create-topic { display: none !important; }). The solution combines permission settings, browser cache refresh, and optional CSS styling for a seamless user experience.
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.
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.
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.