This guide explains how to set up a group to receive notifications and emails for a private category in Discourse.
Required user level: Administrator
This guide will walk you through the process of creating a group, configuring a private category, and setting up notifications for that group. This is useful when you want specific users to receive updates about a particular category without making it visible to all users.
Creating a new group
- Navigate to
discourse.example.com/groups/custom/new
- Create a new group (e.g., “testing”)
Configuring category security
- Go to the categories page at
discourse.example.com/categories
- Locate the category you want your group to watch (e.g., “Test Category”)
- Add the newly created group to the security settings of this category
- If this is a new category, make sure to remove the “everyone” group to keep it private
For more information about groups and categories, read the guide on using category security settings to control access to content.
Setting up default category watching
- Access your site settings at
your-discourse-site.com/admin/site_settings
- Find the “default categories watching” setting
- Add your private category (e.g., “Test Category”) to this setting
Notification behavior
- New members joining the group will receive notifications for each topic and post in the private category
- By default, email notifications are sent only when users are not active on the site
- Users can modify their email preferences to receive emails even when active on the website
The site setting
max emails per day per user
(default: 100) limits the number of emails sent to each user daily.
User preferences
Users can view and modify their watched categories in their preferences.
Administrators can enforce this user preference for all users. However, only users belonging to the specified group will receive notifications, as the private category will only be visible to them.
Verifying the setup
To ensure the private category is only visible to the correct users:
- Log in as a new user who is not part of the group
- Check that the private category is not visible in their watched categories list
Last edited by @hugh 2024-07-16T02:19:57Z
Last checked by @hugh 2024-07-16T02:20:02Z
Check document
Perform check on document: