# 创建一个只对一个组私有、对其他组开放的类别

**URL:** https://meta.discourse.org/t/create-a-category-thats-private-to-one-group-but-open-to-other-groups/364835
**Category:** Support
**Created:** [2025年五月5日 13:21 UTC](https://meta.discourse.org/t/create-a-category-thats-private-to-one-group-but-open-to-other-groups/364835 "2025-05-05T13:21:05Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [2025年五月5日 14:09 UTC](https://meta.discourse.org/t/create-a-category-thats-private-to-one-group-but-open-to-other-groups/364835/3 "2025-05-05T14:09:07Z")

</div>

这确实有点棘手。你不是唯一遇到这个问题的人，而且这个问题通常发生在社区的后期，所以你早期的成功导致了现在的新问题是可以理解的。

实际上并没有内置的方法来创建一个权限比“所有人”更小的组。

我认为你需要做的是：

- 为你的大多数用户创建一个新组，例如 `@members`
- 将所有现有用户添加到该组
- （可选）将这些新用户添加到另一个组，例如 `@guests`
- 更新类别权限，以定义哪些类别对 `@members` 或 `@guests` 具有特定级别的访问权限

> [@MartijnvdWiel](#):
>
> 为所有其他组分配新权限将是一项艰巨的任务。

这可能需要一些努力，但你可以找到一些方法来批量处理。

例如，[导出用户](https://meta.discourse.org/t/exporting-users-to-a-csv-file/18960)创建的 CSV 文件包含一个组名列，而[批量邀请](https://meta.discourse.org/t/sending-bulk-user-invites/16468?silent=true)功能也使用带有组名的 CSV 将用户添加到组中。

这需要一些数据处理才能正确完成，但应该是可行的。我建议先用一个包含少量用户（一次 1 或 2 个）的小型测试 CSV 文件开始，以确保一切按预期工作，然后再为所有人执行此操作。

你目前大约有多少用户、组和类别？

---

_[View the full topic](https://meta.discourse.org/t/create-a-category-thats-private-to-one-group-but-open-to-other-groups/364835)._
