A user, pfaffman, reported that muted categories are visible to anonymous users on their site, despite being hidden for logged-in users. sam recalled a similar issue being fixed in the past, but vinothkannans couldn’t reproduce the issue after checking. After further investigation, pfaffman suspected a plugin or theme component might be causing the issue, but discovered that the problem lies with the mute_all_categories_by_default setting. When this setting is enabled, it ignores the muted categories list, causing all categories to be shown. pfaffman considers this a bug and suggests that if all categories are muted by default and there are no watched categories, the site should show nothing.
I have a site with a bunch of muted categories. These categories and topics are hidden when visiting as a logged-in user, but anonymous users see these categories (on /categories) and topics from those appear in /latest.
EDIT: FWIW:
<meta name="generator" content="Discourse 2.8.0.beta4 - https://github.com/discourse/discourse version b673fee9464e823de3c3423a5f8c45732896b429">
My best guess is that it’s something with the question/answer plugin, thoug disabling it didn’t change anything. I don’t see how a theme component could change that.
If mute_all_categories_by_default is set, then it ignores the muted categories list. It’s giving me all categories if mute_all_categories_by_default, but obeys the default_categories_muted if it’s not.
This seems like a bug, to ignore the muted categories, or maybe it doesn’t make any sense to have muted categories if all categories are muted by default. But it would seem like if all categories are muted by default and there are no watched categories then it should show nothing?