Understanding groups and category permissions

:bookmark: This guide explains how to manage category visibility and user permissions using groups in Discourse.

:person_raising_hand: Required user level: Administrator

Groups and category permissions are crucial for managing access and content creation within your Discourse community. This guide will help you understand how to use these features effectively.

Summary

  • Category permissions control visibility and user actions
  • Permissions are managed through group access lists
  • Different permission levels: See, Reply, and Create
  • Special considerations for admin, moderator, and anonymous access

Managing category permissions

Accessing category security settings

  1. Navigate to the category you want to manage
  2. Click on the category’s “About” page
  3. Select “Edit Category”
  4. Go to the “Security” tab

You’ll see a screen similar to this:

Understanding permission levels

There are three levels of permissions you can assign to groups:

  1. See: Users can view the category and its content
  2. Reply: Users can post replies in existing topics
  3. Create: Users can create new topics in the category

Adding groups to the access list

  1. Click the “Add a group” button
  2. Select a group from the dropdown menu
  3. Choose the appropriate permission level(s) for that group

:information_source: New forums have default groups like “everyone”, “admins”, “staff”, “moderators”, and trust level groups. Custom groups you’ve created will also appear in this list.

Removing groups from the access list

To remove a group’s access, simply click the bin :wastebasket: icon next to the group name.

Category visibility and access control

Default permissions

By default, new categories allow the “everyone” group to See/Reply/Create. This means all users, including anonymous visitors, have full access to the category.

Restricting category visibility

If a group doesn’t have the “See” permission for a category:

  • The category won’t appear in the user interface for members of that group
  • Members of groups with access will see a padlock icon next to the category badge

To limit access to a category to specific groups, you will have to remove the group everyone from the category security settings and include the appropriate groups that will be allowed to have visibility of the category.

This video shows how you can use group permissions to create private categories:

:warning: Please note that the UI from the video is outdated, but the same core concepts still apply.

Video transcript

In this video we’ll go over how to create a group of users and then give that group that I’ve created permissions to a private category.

In this Discourse install I have a category called staff and I want to give a specific group of users access to this certain category.

First I’ll jump into the admin page and then I’ll head over to users and groups and here I’ll create a new group.

We have a group of interns that will be joining the team shortly so we want to give them just a certain level of access to this staff category.

We want them to be able to see topics and reply to them but not to be able to create new topics so let’s create this group we’ll leave all these as defaults and go ahead and click create.

Once we’ve clicked create we can head back to our categories and find the private category that we care about: staff.

Now will edit this category. Head over to security and this is where we have our permissions page.
Currently users that are part of the group called staff can create, reply to, and see topics in the staff category.

Now I’ll go ahead and choose the interns group that I just created and then open this drop down and allow interns to reply to topics and see them, not create new topics. We could also choose “see” but for now I’ll just choose reply and see.

Then we’ll click the plus button and save the category and we’ll wait for this page to update.

Any new users that I add to this interns group will now be able to see all the topics in this staff category and they can reply to any of them - they just won’t be able to create a new topic in this category.

So that’s how to create a group in discourse and then give that specific group of users certain permissions to a private category

Limiting actions without hiding the category

If a group can “See” but not “Create” or “Reply”:

  • The category and its content will be visible
  • The “New Topic” button will be greyed out and disabled
  • The category won’t appear in the composer’s category dropdown menu

:information_source: Users who can only “See” a category can still receive notifications and have the category’s content included in their digest email.

Special cases and considerations

Admin and moderator access

  • Admins always have full Create/Reply/See permissions for all categories
  • Moderators don’t have default access and must be explicitly included in permission rules
  • Moderators belong to both “staff” and “moderators” groups

Anonymous vs. logged-in users

  • The “everyone” group includes all users, even anonymous visitors
  • The “trust_level_0” group includes all logged-in users
  • To disallow anonymous access, use “trust_level_0” instead of “everyone”

Examples of permission configurations

Limiting access to a custom group

Public visibility with restricted content creation

Open replies, restricted topic creation

Logged-in users only access

Additional resources

44 Likes
Create a private category with limited access for a certain group
Setting up a private category
Restricting Access to categories
What are the 'Private spaces'? What difference with 'Categories'?
Private Topics - are they supported?
Creating private groups
Group permissions for specific subcategory
Difficulty of Tiered-access forum
Can a group be used to contain users to viewing specific categories?
Adding users to the "staff" group
Custom Guest Mode
Is it possible to create a private categories
Using Discourse For Course Community
Patreon members only can create a New Topic?
Permissions for specific users
Setting Security Parameters: Log-In, Read-Only, Protected Groups
Red spot to indicate new users to review
Ban members from certain categories?
Private room/category for specific User group?
Mirrored topic: same topic in two categories
Configure Patreon integration with Discourse
Difference between “member” and “staff user”
Can I add a group of users to a PM without inviting them?
A plugin to "check" a portion of a post before it can be posted
Private Group Facebook Like
Private Group Facebook Like
Category Previews
Category Previews
Category Previews
Several questions about management right
How we put people in a category?
Questions Ă  propos des groupes
Setting up Trust Levels along with Groups
Understanding Discourse
Allow only posting to subcategories
Ability to disable trust level auto-promotion?
The ability to post answers anonymously
Disable New Topic
What can user groups be used for?
What can user groups be used for?
Unable to set a Featured Topic
Help with auto-close topic?
Discourse for self hosting
Providing specific permissions to specific groups
Is it possible to add custom security groups (creating mini sub-communities)
Pin topics only for specific groups?
Limit discussion to certain people
Silence user via API
Discourse for Academic Use Features (Done and to be Done)
Prevent users creating new topics in a category but allowing them to comment?
Voting plugin: hiding closed topics
Latest topics on homepage with only members to read in detail?
Is it possible to create a custom group?
Automatically granting permissions to new members?
Placing Specific Topics in Read Only
4 different user types
How do I get some members to have a colored nick and create topics? (That others can't see this topic)
Forum structure advice
New to Discourse, have some questions :)
Allow students to create a tag when opening a topic
Setting up Discourse without the ability to create new topics
Can't delete this category because it has chat channels
Permissions and clients/users
Do not know how to setup locked subcategory
Locking topics to be accessed by members-only
Users self-select Category on Registration... is it possible?
Create a category in Discourse
Is it possible to restrict certain “docs” to appear based on the user’s groups?
How to make only people from a specific group create a post?
Disable topic creation in the parent/root category
Configure Patreon integration with Discourse
Discourse Moderation Guide
Groups ACL
Show posts only to logged in users
Post with private tag group is visible to not logged in user with direct link
Available settings within the category edit page
Default staff category permissions (on install)? what are they, exactly?
Understanding Discourse Trust Levels
Allow guest to Post in Topic
Disable reply option on every new topic users create
Limit topic creation to subcategories
Restrict "Ask a category expert to respond" to specific groups?
Use Case Question - Room/Equipment Booking
How to make the notification settings enabled to all the users?
Are Moderated User Invites a thing?
My Wiki of useful Meta (and other) links
My community users can't post anything
User created groups
Page visible to all - specific category for users only
Migrate a vBulletin 4 forum to Discourse
Error Can't search when No login
Addding a paid group who can reply to topics but not create them
First-login home page
Limiting visibility and access to forums by profile
Configuring group notifications for a private category
Hierarchical group membership (groups inside groups)
Control Category Visibility and Access by User Levels
I Need a category link to take me to a tags page
A few questions related to moderation
I can't find the settings to allow members to make new topics
I can't find the settings to allow members to make new topics
How to delete default categories with chats?
Set up a category ONLY for specific Users
Limit users rights
No drafts in Discourse? Abomination! So I have had to publish 65 open drafts. And that sucks. Is there a way to hide these published posts?
Creating groups in Discourse
Create a topic where only chosen people can post and see posts
How to Admin or the person who create the topic can only post
Looking for vBulletin alternatives (self hosted)
Trying to bring paying members from wp to discourse
Configuring anonymous posting for specific categories
WP (SSO) + LMS + Discourse Advice/Best Practices?
Can we prevent an admin from seeing a private category?
Help! Making two different channels in my discourse
Understanding Discourse for new users
Is this a use case for user custom fields?
Group as Group member?
Limiting Users to Certain Threads
Confidentiality of Posts, Public/private/onlyForAdmins

2 posts were split to a new topic: Creating a ghost category for use with a channel