"You must choose a category" not showing for Admins

AI-generated summary

Bug Report: Admins and Moderators Not Required to Choose a Category

Mischief reported a bug where admins can post without choosing a category, and the usual prompt “you must choose a category” does not appear. codinghorror explained that this is intentional for admins as super users, and Mischief discovered that moderators are also immune to this restriction.

However, cpradio claimed that moderators cannot post without choosing a category if the setting “allow uncategorized topics” is unchecked. After further testing, Mischief and cpradio found that moderators can indeed post without choosing a category, which appeared to be a bug.

codinghorror brought it to the attention of @neil, who has since fixed the issue. neil confirmed that moderators must now choose a category like everyone else.

On our installation we do not allow topics to be created without a category.

We have noticed however when admins post they can post without having one.

The usual prompt saying “you must choose a category” doesn’t appear for admins.

It appears this is a bug.

This is intentional, admins are immune to this restriction as super users.

2 Likes

I notice moderators are also immune. Is this also intentional?

As a moderator on a Discourse site, I can’t post without choosing a category. Make sure the following setting is unchecked allow uncategorized topics

I have tested it on two different sites both with

it it is allowing moderators to post without choosing a category.

Ahh, seems I’m mistaken. I was able to produce an edit in the UI, but found once an appropriate title and content were entered the edit for choose a category doesn’t apply.

Here it is on latest locally as a moderator.

4 Likes

Seems like a bit of a bug there @neil

1 Like

It’s fixed! Moderators must choose a category like everyone else now.

3 Likes