From the topic here it looks like I should be able to require a category on a new post.
My settings are shown on this post
and yet the post itself has no category.
What am I doing wrong?
The user kgreed seeks a way to enforce category selection in Discourse to prevent accidentally posting private notes publicly, especially while logged in as an admin. Despite enabling the āEnforce Categoriesā setting, they find that admin users are exempt from this restriction, allowing them to post uncategorized (public) topics. tophee explains that the āuncategorizedā category is the default and must be accessible to all users to function, making it impossible to restrict access. Chris_Hoover suggests using groups and private categories, but this doesnāt solve the core issue of forgetting to assign a category. Mittineague proposes using private messages for personal notes, which can later be moved to a public category. kgreed clarifies they want a warning when creating a public post without a category, but Mittineague notes this would be impractical and suggests a plugin for a personal default category as a potential solution.
From the topic here it looks like I should be able to require a category on a new post.
My settings are shown on this post
and yet the post itself has no category.
What am I doing wrong?
Remember that staff are immune to these restrictions. Try it as a normal user.
Is there a way to set up un-categorized posts to be private?
Do you mean you want to restrict access to the uncategorized category?
Yes, if no category is set then I want the post to be private.
I put a lot of personal notes in for myself and sometimes I forget to set the category.
That is not possible, for obvious reasons: the uncategorized category is the default/fallback category for all topics. If not all users can write to it, it will lose that function.
@tophee
What is the uncategorized category ? Is it the category you get when no category is selected?
Why is there a setting to allow uncategrozed topics if it is not possible?
Do you mean āif no usersā rather than āif not all usersā ?
Yes. Technically, there are no uncategorized topics. They are just in a category called āuncategorizedā.
Because you can force users to select a (different) category before they will be allowed to submit their topic.
No, I mean āif not all usersā. Putting it differently: if you want to allow your users (and that means: all your users) to create uncategorized posts, that category called āuncategorizedā needs to be writable for all users.
So what is the thinking behind having the admin users unaffected by the Enforce Categories setting?
Thus allowing newbie admins to accidentally post publicly.
I want all users to be restricted from uncategorized posts.
Admins are king ![]()
They can do anything anyway, so why restrict them artificially when they create topics?
Thanks, I will create myself a non admin user.
Still even king admins donāt mind being reminded they are about to make something public.
I would have prefered to keep posting as admin rather than having to have 2 logins.
The other workaround would be to create notes to yourself as PMs and then make them public if/when youāre ready.
I figured out how to convert a message to a PM, but that does not really help me because I need to create the message first, and to be in a state of mind where I am thinking about privacy.
I already have a category āKirstenās Notesā which is private to me.
Typically I have this open and I pop thoughts and links into it during the day.
If I have the category list view displayed then new topics have the right category.
Every now and then I forget to go into the list view first and the new topic is not set.
If I donāt spot this in time I accidentally post my personal notes publicly.
You can also create groups and assign categories to certain groups. That way only that group can see topics created in that category. However admins and moderators can see everything.
Could you explain a little more about what your trying to do? Iām just a little confused.
I want to protect myself from forgetting to select a category, preferably whilst still using a login with admin privilege
Thereās no way to do that. Or at least from my knowledge of the system. You just need to make sure that you donāt forget to put a topic in the right category ![]()
Sorry I couldnāt be any more help to you. Have a great rest of your day/night!
Even if it could warn me I am about to post something publicly it would be a big help. Is the a place in Meta where I could request this?
I am 95% sure there isnāt a warning system. If you do end up forgetting to assign a category to a topic, then you can always unlist it and re assign it. Then list that topic again.