Configuring Discourse for a closed or private community

:bookmark: This guide explains how to configure Discourse for a closed or private community, including setting login requirements, user approval processes, and invite-only access.

:person_raising_hand: Required user level: Administrator

Discourse offers several options to create a closed or private community. This guide will walk you through the different settings you can use to control access to your Discourse site.

Setting up login requirements

To make your Discourse site completely private, requiring users to log in to see any content:

  1. Go to your site settings
  2. Find the “login required” setting and select it
    Login required setting

Implementing user approval

If you want to allow anyone to sign up but require staff approval before new accounts become active:

  1. Navigate to your site settings
  2. Locate the “must approve users” setting and select it
    Must approve users setting

Creating an invite-only community

To restrict new account creation to only those who have been invited:

  1. Access your site settings
  2. Find the “invite only” setting and select it
    Invite only setting

Setting up private categories

You can also make specific categories private:

  1. Visit the category page
  2. Click the Advanced settings toggle switch in the upper right corner
  3. Go to the “Security” tab
  4. Adjust the permissions as needed

In this example, only users with accounts can access the category. Anonymous users are restricted from viewing it.

You can further customize category access by making certain categories readable or writable only to specific groups of users. These groups can be either public or private.

Additional resources

Last edited by @yigit 2026-05-05T11:02:25Z

Check documentPerform check on document:
8 Likes

This is wrong. In the example screenshot, “everyone” can see the category. The prior image used the trust_level_0 group.

Also, it might not be ideal to have a screenshot in the documentation where the checkmarks for the permissions are not shown below their headings.
Taking the screenshot without the “Modernize Foundation theme” upcoming change would work (or waiting for a fix).

I also wonder why the guide doesn’t mention the new visibility option in the “General” tab of category creation or the fact that you need to enable the advanced settings to be able to see the “Security” tab.

2 Likes