# Apply a Group to All New Users

**URL:** https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054
**Category:** Support
**Created:** [November 14, 2018, 7:33pm UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054 "2018-11-14T19:33:18Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![swamidass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swamidass/32/119549_2.png) [@swamidass](https://meta.discourse.org/u/swamidass)
#### Post date: [November 14, 2018, 7:33pm UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054/1 "2018-11-14T19:33:19Z")

</div>

How do I set up a group to be applied to all new users?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [November 14, 2018, 8:18pm UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054/2 "2018-11-14T20:18:38Z")

</div>

Why would you need such a thing? Why can’t you use [@everyone](https://meta.discourse.org/groups/everyone) instead?

---

<div class="post-metadata">

### Author: ![swamidass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swamidass/32/119549_2.png) [@swamidass](https://meta.discourse.org/u/swamidass)
#### Post date: [November 14, 2018, 8:40pm UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054/3 "2018-11-14T20:40:26Z")

</div>

I’m need a way to give default access to categories that I can revoke for bad behavior, without resorting to silencing or suspension.

One strategy is to have a default group that can be lost.

Another way is to disallow members of a group, but discourse doesn’t allow for this.

Any other suggestions are welcome.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 15, 2018, 7:47am UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054/4 "2018-11-15T07:47:56Z")

</div>

You could use trust levels for this, force the problem users into trust level 0 forever via admin console and grant the slightly higher rights to trust level 1

---

<div class="post-metadata">

### Author: ![swamidass](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/swamidass/32/119549_2.png) [@swamidass](https://meta.discourse.org/u/swamidass)
#### Post date: [November 15, 2018, 6:15pm UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054/5 "2018-11-15T18:15:52Z")

</div>

That might work, but there are other restrictions on TL0…

Why not add that as a feature to allow a group to be applied or removed at certain triggers?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 15, 2018, 11:58pm UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054/6 "2018-11-15T23:58:44Z")

</div>

> [@swamidass](#):
>
> Why not add that as a feature to allow a group to be applied or removed at certain triggers?

That means we need to define a rather complex UX for workflows inside the admin section. Technically you can achieve this today with a plugin and we have some prior art with the way we define parts of workflows with webhooks.

I do see us having a “drag and drop” workflow kind of thing in the next say 5-10 years, but it is not in the immediate or medium plan.

When I say “workflow” I mean using admin interfaces in some theoretical world you could define.

- When a user is created
- Then apply group X to user

Being “workflowy” it could allow for crazy stuff like

- When a user is created
- Send a notification to User Y with the text user bob was created.

Or,

- When user bob posts a reply
- make group test watch the topic

These kind of systems are mega flexible and allow for tons of magic, but are a very big project we have not even sketched out or planned.

Your immediate solutions here are either to use trust level OR build a plugin which has all the hooks to make your workflow happen.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [September 5, 2021, 9:40pm UTC](https://meta.discourse.org/t/apply-a-group-to-all-new-users/102054/8 "2021-09-05T21:40:57Z")

</div>


