# 能否在某个分类中创建仅特定群组可见和参与的主题？

**URL:** https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906
**Category:** Support
**Created:** [2020 年2 月 28 日 17:38 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906 "2020-02-28T17:38:02Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### 作者： ![DaleKramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dalekramer/32/169487_2.png) [@DaleKramer](https://meta.discourse.org/u/DaleKramer)
#### 发布日期： [2020 年2 月 28 日 17:38 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/1 "2020-02-28T17:38:02Z")

</div>

1. 这可行吗？  
我搜索过这个问题的答案，并认为目前这“很可能”不可行，但我想确认一下。

2. 能否通过一个简单的插件实现（而不是只有专家才能编写的复杂插件）？

我不想创建一个只有特定群组才能查看和参与的分类。

另外，私信并不是我想要的解决方案。

---

<div class="post-metadata">

### 作者： ![DaleKramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dalekramer/32/169487_2.png) [@DaleKramer](https://meta.discourse.org/u/DaleKramer)
#### 发布日期： [2020 年2 月 28 日 18:00 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/2 "2020-02-28T18:00:23Z")

</div>

我认为有必要解释一下，为什么我希望在某个分类中创建一些仅限特定群组查看和参与的帖子（而非该分类下的所有帖子）。

假设我们有一个名为“红湖自然营地”的 Discourse 论坛。该营地是一个供不同人群在若干天内访问的地方。这里设有多个公共分类，所有访客均可参与。同时，我们为每次访问创建了相应的群组，例如“2020-02-05LocalBoyScouts”，该群组仅由参加 2020 年 2 月 5 日露营活动的当地童子军成员组成。

存在一个名为“团体访问”的主要论坛分类，由“工作人员”在该分类下发布一个题为“2020-02-05 当地童子军冬季旅行”的帖子，并在首帖中简要描述此次行程。

这种方式虽然可行，但我们希望将该帖子的查看和参与权限限制为仅限“2020-02-05LocalBoyScouts”群组。

我们希望将该帖子对特定群组设为私密的原因是：还存在一个

---

<div class="post-metadata">

### 作者： ![smrtey](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@smrtey](https://meta.discourse.org/u/smrtey)
#### 发布日期： [2020 年2 月 28 日 18:32 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/3 "2020-02-28T18:32:06Z")

</div>

我认为你问的和本主题一样，答案是否定的。

> [@Create a private Topic only accessible to specified users](https://meta.discourse.org/t/create-a-private-topic-only-accessible-to-specified-users/142217/):
>
> I’ve read dozens of topics about groups, categories, sub-categories, etc. Somewhere along the way I thought I remembered seeing that you can add specific members to be able to access a document (kind of like gDoc/Google Document permissions) But I can’t find that thread! Maybe it was talking about something else. But I feel like I saw a screenshot of a field where you could add specified individuals to a topic or something. Per the title of this topic, I want to be able to have a private topic …

---

<div class="post-metadata">

### 作者： ![DaleKramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dalekramer/32/169487_2.png) [@DaleKramer](https://meta.discourse.org/u/DaleKramer)
#### 发布日期： [2020 年2 月 28 日 18:40 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/4 "2020-02-28T18:40:31Z")

</div>

感谢分享那个我参与过的主题。

但那个主题中标记的解决方案并不适用于我的情况，这与 Jordan 的情况不同。

而且该主题中的其他变通方法也只是变通方法， unnecessarily 复杂。

不过，我认为我在此提出的建议对 Jordan 也同样适用。

主要区别在于，所有访问我的营地的主题都会 neatly 归档到公共的“团体访问”类别中，无论论坛所有成员是否可见。

---

<div class="post-metadata">

### 作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### 发布日期： [2020 年2 月 28 日 19:23 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/5 "2020-02-28T19:23:03Z")

</div>

很可能一直以来都是话题没有权限设置，而分类才有。如果你只想让 **特定群组** 的人看到某些内容，就必须为该群组专门创建一个分类。

理论上，你可以使用标签，并找到一种方法（也许是某个插件？），让所有不在 **特定群组** 中的人自动屏蔽该标签。这样可以防止他们看到带有该标签的分类，除非他们选择取消屏蔽（或者你的插件强制他们始终屏蔽）。如果仅仅让 **特定群组** 之外的人看不到帖子只是 **令人烦恼** 而非造成严重问题，那么这可能是一个可行的解决方案。

---

<div class="post-metadata">

### 作者： ![DaleKramer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dalekramer/32/169487_2.png) [@DaleKramer](https://meta.discourse.org/u/DaleKramer)
#### 发布日期： [2020 年2 月 28 日 19:26 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/6 "2020-02-28T19:26:24Z")

</div>

谢谢，乍一看这似乎不是一个专家模式的编码插件。我可能会尝试一下，毕竟生活就是学习 🙂

而且，女孩们反正也对男孩们感到恼火 😉

---

<div class="post-metadata">

### 作者： ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### 发布日期： [2020 年2 月 28 日 19:40 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/7 "2020-02-28T19:40:58Z")

</div>

情况可能没那么糟。这或许可以作为一个起点：[https://github.com/amical/discourse-watch-category。](https://github.com/amical/discourse-watch-category%E3%80%82)

---

<div class="post-metadata">

### 作者： ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### 发布日期： [2020 年3 月 29 日 19:41 UTC](https://meta.discourse.org/t/can-i-make-some-topics-in-a-category-which-only-certain-groups-can-see-and-participate-in/142906/8 "2020-03-29T19:41:00Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
