تكوين وصول المجموعة، والعضوية، والرؤية

: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 للانتقال إلى المجموعات، ولكن من الواضح أن المستخدم لن يكتشف ذلك بنفسه. أتساءل عما إذا كانت هناك طريقة مدمجة أو أفضل ممارسة لعرض المجموعات للمستخدمين.

طالما أن إعداد تمكين دليل المجموعات لم يتم تعطيله (وهو ممكّن افتراضيًا)، يمكن للمستخدمين الوصول إلى صفحة المجموعات الخاصة بالموقع عن طريق النقر فوق إدخال “المجموعات” من قائمة الهامبرغر الرئيسية. ستعرض هذه الصفحة للمستخدمين جميع المجموعات التي هم أعضاء فيها، طالما أن المجموعة لم يتم تكوينها لتكون مرئية فقط لأصحاب المجموعة، أو لأصحاب المجموعة والمشرفين فقط.

أي مجموعات مرئية وتم تكوينها للسماح للمستخدمين بالانضمام بحرية إلى المجموعة سيكون لها زر “انضمام” معروض لإدخالها. أي مجموعات تسمح للمستخدمين بإرسال طلبات العضوية سيكون لها زر “طلب” معروض في إدخالها في صفحة المجموعات.

إعجابَين (2)

تمام، لم ألاحظ الزر هناك حتى، لكنني أراه الآن.

إعجاب واحد (1)

يرجى التوضيح لي
إذا سمحت للجميع بالوصول إلى المجموعة - فهل هذا فقط لإعلامهم بوجود المجموعة أم يمكنهم أيضًا رؤية كل المحتوى بداخلها؟ هل هذا الإعداد هو نفس خيار الأمان لـ “المشاهدة، الرد، الإنشاء”؟

أود أن أغري مستخدمي ببعض الأقسام الأخرى التي قد تتطلب ترقية عضويتهم في منتدىي من خلال إعلامهم بوجود الفئة، ولكن دون السماح لهم برؤية كل شيء بداخلها.

شكرًا!!!

من خلال إعداد رؤية المجموعة، يمكنك تحديد من يمكنه رؤية المجموعة في نظرة عامة على المجموعات. لا يمكنهم قراءة الرسائل المرسلة إلى مجموعة ليسوا أعضاء فيها.
ما إذا كانت الفئة مرئية للمستخدم تعتمد على إعدادات أمان الفئة. إذا لم يكن المستخدم عضوًا في مجموعة لديها إذن “رؤية”، فلن يروا الفئة أو أي موضوع فيها.

سأفعل ذلك باستخدام Category Previews

إعجاب واحد (1)

شكراً لك، سأتحقق من ذلك.