# 所有人默认加入的群组，除非被移除

**URL:** https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533
**Category:** Support
**Created:** [2019 年6 月 16 日 19:51 UTC](https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533 "2019-06-16T19:51:37Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### 作者： ![ashledombos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashledombos/32/114818_2.png) [@ashledombos](https://meta.discourse.org/u/ashledombos)
#### 发布日期： [2019 年6 月 16 日 19:51 UTC](https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533/1 "2019-06-16T19:51:38Z")

</div>

Hello,

Is it possible to make a group where everybody is except people removed from it?

In fact a kind of way to explicitely blacklist people from some categories.

---

<div class="post-metadata">

### 作者： ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### 发布日期： [2019 年6 月 16 日 21:09 UTC](https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533/2 "2019-06-16T21:09:18Z")

</div>

No, discourse permissions are group based and additive, not subtractive.

---

<div class="post-metadata">

### 作者： ![DNSTARS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dnstars/32/100957_2.png) [@DNSTARS](https://meta.discourse.org/u/DNSTARS)
#### 发布日期： [2019 年6 月 16 日 21:20 UTC](https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533/3 "2019-06-16T21:20:53Z")

</div>

> [@ashledombos](#):
>
> 能否创建一个包含所有人但排除被移除者的群组？

这是一种变通方法：

- 创建群组
- 选择通过电子邮件域名自动注册
- 找出您网站最常见的电子邮件注册来源，然后将它们全部添加进去，前 10 名将占注册用户的约 95%
- 使用或修改此处 [链接](https://meta.discourse.org/t/users-in-specific-group-s-but-not-in-other-group-s/275159?u=dnstars) 的群组成员进出脚本，以找出那些被遗漏的人，具体方式可根据您的需求调整。

更简单的方法可能是：让信任等级为 0（全新用户）的人在可见的“入门/欢迎来到网站”主题中阅读 10 篇帖子后升级到等级 1，然后设置网站其余部分需要信任等级 1 才能访问。这样，您可以将不喜欢的人降级到等级 0 或直接暂停他们的账号。

关于为网站添加通配符域名注册或类似功能的功能已被多次提及，但这需要一个插件。说实话，我们确实需要这个功能……

---

<div class="post-metadata">

### 作者： ![ashledombos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashledombos/32/114818_2.png) [@ashledombos](https://meta.discourse.org/u/ashledombos)
#### 发布日期： [2019 年6 月 16 日 22:20 UTC](https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533/4 "2019-06-16T22:20:37Z")

</div>

Thank you for this detailed reply, I’ll explore your solution.

---

<div class="post-metadata">

### 作者： ![ashledombos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashledombos/32/114818_2.png) [@ashledombos](https://meta.discourse.org/u/ashledombos)
#### 发布日期： [2019 年6 月 16 日 22:24 UTC](https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533/5 "2019-06-16T22:24:50Z")

</div>

In fact I imagined giving no rights to all users to a category, except to a group who can read/write. By default everybody is in this group (so all registered users can write in it) but if I remove someone from this group, then he can’t access the category. So my question was more how to put all members in a group (and all new members by default in this group).

---

<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)
#### 发布日期： [2019 年7 月 16 日 22:24 UTC](https://meta.discourse.org/t/group-where-everybody-is-by-default-except-removed-people/120533/6 "2019-07-16T22:24:55Z")

</div>

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