# Give every user a default group tag (example users)

**URL:** https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047
**Category:** Support
**Created:** [January 8, 2023, 11:51am UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047 "2023-01-08T11:51:18Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Daan\_Seegers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daan_seegers/32/99611_2.png) [@Daan\_Seegers](https://meta.discourse.org/u/Daan_Seegers)
#### Post date: [January 8, 2023, 11:51am UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/1 "2023-01-08T11:51:18Z")

</div>

Hi Everyone,

I am buzzy with deep diving into Discourse (just run one on Vultr 🙂 ). After one of my questions about group tagging [Group tagging notification](https://meta.discourse.org/t/group-tagging-notification/244497) (allow groups to be tagged).

Now I was wondering if it is possible to give all users a group tag by default (without manual work ;)). So every user can tag all users.

This allows administrators, for example, to force users to receive a notification for a certain post (of course this is only useful for internal use 🙂 .

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [January 8, 2023, 11:56am UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/2 "2023-01-08T11:56:19Z")

</div>

Tagging users? Tags don’t work that way, or isn’t ment to use that way. You would have awful lot tags then. Do you mean mentions?

And if you want wake up all users using tags or mentions is just impossible.

---

<div class="post-metadata">

### Author: ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)
#### Post date: [January 8, 2023, 12:15pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/3 "2023-01-08T12:15:43Z")

</div>

Did you mean to mention `@trust_level_0` ?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [January 8, 2023, 2:30pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/4 "2023-01-08T14:30:32Z")

</div>

That doesn’t reach everyone, AFAIK. I can mix that with `@here`, though. There is `max users notified per group mention` setting, but I don’t know can it be like infinite or ridiculous big.

---

<div class="post-metadata">

### Author: ![Daan\_Seegers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daan_seegers/32/99611_2.png) [@Daan\_Seegers](https://meta.discourse.org/u/Daan_Seegers)
#### Post date: [January 8, 2023, 2:42pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/5 "2023-01-08T14:42:55Z")

</div>

Well I want to be able to mention `@all` for example. And that would reach all users on the platform. When renaming `@trust_level_0` (group) to `@all` and tag them in a message, all the users would get a notification?

When someone gets a higher trust level, will this user also be disconnected from the `@trust_level_0` group?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [January 8, 2023, 2:51pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/6 "2023-01-08T14:51:23Z")

</div>

> [@Daan\_Seegers](#):
>
> will this user also be disconnected from the `@trust_level_0` group

No. Everyone is there.

That is different story if TL1 would be better choise, meaning everyone better than TL0.

---

<div class="post-metadata">

### Author: ![Daan\_Seegers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daan_seegers/32/99611_2.png) [@Daan\_Seegers](https://meta.discourse.org/u/Daan_Seegers)
#### Post date: [January 8, 2023, 3:46pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/7 "2023-01-08T15:46:48Z")

</div>

You can increase it to 2000000000

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/4/6/c4607db7676a7134a703afad428aaa9ceb7c9e91.png)

> [@Allow groups to be mentioned and sent messages](https://meta.discourse.org/t/allow-groups-to-be-mentioned-and-sent-messages/36228):
>
> bookmark This guide describes how to enable group mentions and messages in Discourse. person_raising_hand Required user level: Administrator By default, users cannot mention groups or send messages directly to them. Administrators can modify these settings to facilitate better group interactions. Configuring group mentions and messaging To enable group mentions and messages: Navigate to the group’s page. Select the Manage tab. In the left-hand sidebar, go to the Interaction section. …

---

<div class="post-metadata">

### Author: ![Daan\_Seegers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daan_seegers/32/99611_2.png) [@Daan\_Seegers](https://meta.discourse.org/u/Daan_Seegers)
#### Post date: [January 8, 2023, 4:17pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/8 "2023-01-08T16:17:59Z")

</div>

The only problem is that you cannot rename the `trust_level_group_0` [https://meta.discourse.org/t/is-it-possible-to-rename-the-trust-level-0-group-to-something-else/96639](https://meta.discourse.org/t/is-it-possible-to-rename-the-trust-level-0-group-to-something-else/96639).

But you can set up a hook in discourse that pings an endpoint, which in turn tells the discourse api to add a user to a group, on sign up.

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/f/a/3fa3b335776fe1ebe0f4cb62bfe7ea9241f672f4.jpeg)

Not pretty but it would work :okay:

> **[Discourse API Docs](https://docs.discourse.org/#tag/Groups/operation/addGroupMembers)**

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 8, 2023, 6:04pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/9 "2023-01-08T18:04:02Z")

</div>

No. Create a group and add people. Then they can mention` @group`.

Do not rename default groups. It’ll be confusing (if it will let you).

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 8, 2023, 6:56pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/10 "2023-01-08T18:56:04Z")

</div>

You can rename default groups through `admin/customize/site_texts` 👍 To change trust level 0 it would be `groups.default_names.trust_level_0`

It can’t share a name with an existing user or group, or the rename will not take. The change takes place as part of a background job, so will be updated when that runs. You can speed it along by triggering `Jobs::EnsureDbConsistency` from the `/sidekiq/scheduler`

---

<div class="post-metadata">

### Author: ![Daan\_Seegers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daan_seegers/32/99611_2.png) [@Daan\_Seegers](https://meta.discourse.org/u/Daan_Seegers)
#### Post date: [January 8, 2023, 7:06pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/11 "2023-01-08T19:06:35Z")

</div>

I was wondering why it took so long to update (was testing it out). But when you change the name of the group, would it be possible to mention it by `@newGroupname`?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 8, 2023, 7:11pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/12 "2023-01-08T19:11:22Z")

</div>

If you change the name through `admin/customize/site_texts` it should also travel through to menu dropdowns and @mentions, etc 👍

~~Actually, I’m not sure I’ve tested an @mention. Let me just go check…~~

I’ve checked, and it does. 👍

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/0/0/200577d24b925021dd6e1bc7fc9e16759e18d2dc.png)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 8, 2023, 7:14pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/13 "2023-01-08T19:14:21Z")

</div>

You can rename it. It will just be confusing to anyone who’s familiar with discourse and tries to help out later. It’s likely to cause more problems than it solves, but I don’t know that community, just a few hundreds that I’ve helped out here. I could be wrong.

---

<div class="post-metadata">

### Author: ![Daan\_Seegers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daan_seegers/32/99611_2.png) [@Daan\_Seegers](https://meta.discourse.org/u/Daan_Seegers)
#### Post date: [January 8, 2023, 7:17pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/14 "2023-01-08T19:17:46Z")

</div>

The reason I ask this is if you use, for example, an authentication layer from Google (oauth2), you cannot assign a member to a certain group by hand every time, so whether you:

- Must change the default group name
- Triggering a webhook with a (PHP) script that creates a callback, adding the user to that group.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [January 8, 2023, 7:35pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/15 "2023-01-08T19:35:46Z")

</div>

I don’t think it’s that confusing? As long as they mention they’ve renamed it if it’s relevant it seems pretty straightforward. I think a few people have done it that I know of and I don’t think they’ve reported any issues? (bar the group/username conflict that causes the rename to silently fail).

Is there any other reason you would recommend to avoid it?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 8, 2023, 11:14pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/16 "2023-01-08T23:14:50Z")

</div>

Trust level is used in a zillion places. If `trust_level_0` is called “not\_trust\_level” and you go to start debugging some issue with trust levels, you’re likely to be confused. “Wait. There is no `trust_level_0`. How does this even work!?” you might say.

---

<div class="post-metadata">

### Author: ![piffy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/piffy/32/254198_2.png) [@piffy](https://meta.discourse.org/u/piffy)
#### Post date: [January 8, 2023, 11:43pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/17 "2023-01-08T23:43:16Z")

</div>

I’ve been using custom names for trust levels with no issues outside of the aforementioned conflict between an existing username and the new group name (resolved here [Trust\_level default name?](https://meta.discourse.org/t/trust-level-default-name/231050)) Isn’t the whole point of the custom text section on the admin menu so that you only have to make one change to alter the zillion places in the UI the text is used?

Based on my experience, changing the name of the trust level is an easy way to give your forum a more coherent theme and is just more fun.

`Trainer > Ace > Leader` is a lot more meaningful, on brand and fun for my community than `trust_level_1 > trust_level_2 > trust_level_3`

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [January 9, 2023, 3:58am UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/18 "2023-01-09T03:58:16Z")

</div>

> [@piffy](#):
>
> Based on my experience, changing the name of the trust level is an easy way to give your forum a more coherent theme and is just more fun.

Glad it’s working for you! Maybe I’m just too rigid.

My point was that there are many strings to customize that talk about trust levels. But if you’ve not had trouble then that’s real data and I don’t have any specific examples (that I remember) of it being an actual problem, so it’s likely safe to ignore me.

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [January 10, 2023, 6:57pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/19 "2023-01-10T18:57:51Z")

</div>

A warning: TL0 includes stages users. If you use stages users and send a message to that group, staged users will be emailed.

This has surprised a few people. 🙂

---

<div class="post-metadata">

### Author: ![Daan\_Seegers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daan_seegers/32/99611_2.png) [@Daan\_Seegers](https://meta.discourse.org/u/Daan_Seegers)
#### Post date: [January 11, 2023, 8:54pm UTC](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047/20 "2023-01-11T20:54:32Z")

</div>

What do you mean with staged users?

[Next page](https://meta.discourse.org/t/give-every-user-a-default-group-tag-example-users/251047.md?page=2)
