グループアクセス、メンバーシップ、および可視性の設定

:bookmark: This guide explains how to set up and manage Discourse groups with different levels of access, membership requirements, and visibility settings.

:person_raising_hand: Required user level: Administrator

Discourse groups can be configured to be closed, allow membership requests, or permit users to join freely. This guide will walk you through the process of setting up these different group types and managing their visibility.

Summary

  • Create and configure closed groups
  • Set up groups that allow membership requests
  • Configure groups for free joining
  • Manage group visibility and access settings
  • Allow users to leave groups
  • Update existing group settings

Creating a closed group

  1. Go to your site’s groups page (accessible from the hamburger Screenshot 2021-12-08 at 01.04.41 menu)
  2. Click the “New Group” button
  3. Fill in the group name (other fields between “Full Name” and “Effects” are optional)
  4. Scroll down to the “Access” and “Visibility” sections
    image
  5. In the Access section, leave all checkboxes unchecked
  6. In the Visibility section:
    • “Who can see this group?”: Default is “Everyone”
    • “Who can see this group’s members?”: Default is “Everyone”

With default settings, non-group members will see the group on your site’s groups page:

image

Clicking the group’s link will take them to the group members list:

To restrict member list visibility:

  • Change “Who can see this group’s members?” to an option other than “Everyone” (e.g., “Group owners, members”)

To hide the group entirely:

  • Change “Who can see this group?” to an option other than “Everyone”

Setting up a group with membership requests

  1. Create a new group as described above
  2. Add at least one group owner in the “Add Owners” section
  3. In the Visibility section:
    • Set “Who can see this group?” to “Everyone” or “Logged on users”
    • Set “Who can see this group’s members?” as desired
  4. In the Access section:
    • Select “Allow users to send membership requests to group owners”
    • Optionally, add a template for membership requests.
      image

This configuration adds a “Request” button to the group’s listing and individual page:

image

When a user clicks the button, a form opens allowing them to send a membership request:

image

Group owners will receive the request with a link to accept or reject:

Creating a group that allows free joining

  1. Create a new group as described above
  2. In the Visibility section:
    • Set “Who can see this group?” to “Everyone” or “Logged on users”
    • Set “Who can see this group’s members?” as desired
      image
  3. In the Access section:
    • Select “Allow users to join the group freely”
      image

This adds a “Join” button to the group’s listing and individual page:

image

Allowing users to leave a group

For any group configuration:

  1. Go to the group’s Access settings
  2. Select “Allow users to leave the group freely”

This adds a “Leave” button to the group’s page and listing:

image

Updating existing groups

To modify settings for an existing group:

  1. Go to the group’s page
  2. Click the “Manage” tab
    image
  3. Edit Visibility settings via the “Interaction” link
  4. Edit Access settings via the “Membership” link
    image

To manage group ownership:

  1. Go to the group’s “Members” tab
  2. Use the admin wrench next to a user’s entry to grant/remove ownership or remove the user from the group

FAQs

Q: How do users navigate to the groups page?
A: Users can access the groups page by clicking the “Groups” entry in the main hamburger menu, as long as the enable group directory setting is enabled (default).

Q: Does group visibility allow non-members to see group content?
A: No, group visibility only determines whether users can see the group in the directory. Access to group content is controlled by category security settings.

Q: How can I show users a preview of restricted categories?
A: You can use the Category Previews theme component to give users a glimpse of restricted content without full access.

Last edited by @hugh 2024-07-16T02:38:23Z

Last checked by @hugh 2024-07-16T02:39:18Z

Check documentPerform check on document:
「いいね!」 13

こんにちは @simon 、ありがとうございます! 可視性についてですが、可視性の権限の設定方法は理解しました。しかし、グループページへのナビゲーションについてはどうでしょうか? ユーザーに「マイグループ」や「全グループ」を表示して、これらのページに移動できるようにする組み込み機能はありますか?

コミュニティURLに /g を追加すればグループにアクセスできることはわかりましたが、明らかにユーザーが自分で見つけることはないでしょう。グループをユーザーに表示するための組み込みの方法やベストプラクティスがあるかどうか疑問に思っています。

enable group directory 設定が無効になっていない限り(デフォルトで有効になっています)、ユーザーはメインのハンバーガーメニューから「グループ」エントリをクリックして、サイトのグループページにアクセスできます。そのページには、グループがグループオーナーのみ、またはグループオーナーとモデレーターのみに表示されるように設定されていない限り、ユーザーがメンバーであるすべてのグループが表示されます。

表示可能で、ユーザーが自由にグループに参加できることが設定されているグループには、「参加」ボタンが表示されます。ユーザーが参加リクエストを送信できるグループには、グループページのエントリに「リクエスト」ボタンが表示されます。

「いいね!」 2

なるほど、そこにボタンがあるのに気づきませんでしたが、今見えました。

「いいね!」 1

明確にしてください。
グループの可視性を全員に許可した場合、グループが存在することだけが通知されるのでしょうか、それともグループ内のすべてのコンテンツも表示されるのでしょうか?これは、「表示、返信、作成」のセキュリティオプションと同じ設定ですか?

フォーラムのメンバーシップのアップグレードが必要になる可能性のある他のセクションを、カテゴリが存在することを知らせることでユーザーに提示したいのですが、すべてのコンテンツを表示させたくはありません。

ありがとうございます!!!

グループの可視性設定により、groups の概要でグループを表示できるユーザーが決まります。グループメンバーではないグループに送信されたメッセージは読み取れません。
ユーザーにカテゴリが表示されるかどうかは、カテゴリのセキュリティ設定によって異なります。ユーザーが「表示」権限を持つグループのメンバーでない場合、そのカテゴリやその中のトピックは表示されません。

これは Category Previews で行います。

「いいね!」 1

ありがとうございます。確認します。