LanFeng11
(Lan Feng11)
October 9, 2025, 5:05pm
1
How should I configure it to prevent users from posting new topics?
You need to edit the category permissions and remove the “Create” permission.
If you’re still having trouble, post the permissions you’ve configured.
LanFeng11
(Lan Feng11)
October 9, 2025, 5:37pm
3
Thank you for your answer. I have set it to only allow employees to post. When I change the “Everyone” permission to “View Only”, the “New Topic” button does not disappear, and they can even edit. They should not have the option to post new topics.
Have you have saved the category settings? (I have to ask)
Have you tested with a regular user that is not a member of staff?
LanFeng11
(Lan Feng11)
October 9, 2025, 7:04pm
5
I saved the category settings and refreshed the browser. I am using a non-staff account, and I can edit. The category cannot be selected, it shows as read-only, and I cannot create new topics. I remember that the “New Topic” button was previously unclickable, and topics could not be edited. This would be logical, right?
Moin
October 9, 2025, 7:20pm
6
This was changed a while ago
main ← new-topic-btn-readonly-topic
merged 01:01PM - 16 Sep 25 UTC
### What is this change?
When visiting a restricted category or tag where the… current user does not have permission to create a topic, we should still allow the user to write a new topic under a different category or tag. This is especially important when using the new topic button from the sidebar.
#### When the user does not have permission, the composer category defaults to:
1) Subcategory (if SiteSetting.default_subcategory_on_read_only_category is true and subcategory exists)
2) Default category chooser value of Category... prompting the user to select a category from the dropdown
This PR is a follow up to #33495 which was reverted previously due to a couple of issues which are now corrected:
- we no longer set a default category based on `default_composer_category` (previously was step 2 above)
- category banner text when a user cannot create a topic is now showing up correctly
- added a title attribute with more info for the disabled category in the category dropdown in composer
- for staff only tags, when creating a topic from the tag page as a non staff member we now automatically remove the restricted tag from the tags field in composer (as the user cannot use this tag)
Internal ref: /t/-/152613
What do you mean by “edit topics”?
LanFeng11
(Lan Feng11)
October 10, 2025, 3:33pm
7