# Trust\_level default name?

**URL:** https://meta.discourse.org/t/trust-level-default-name/231050
**Category:** Support
**Created:** [June 24, 2022, 8:32pm UTC](https://meta.discourse.org/t/trust-level-default-name/231050 "2022-06-24T20:32:58Z")
**Posts on this page:** 16
**Page:** 1

<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: [June 24, 2022, 8:32pm UTC](https://meta.discourse.org/t/trust-level-default-name/231050/1 "2022-06-24T20:32:58Z")

</div>

I notice when I go to the flair dropdown, the default “trust\_level\_x” name is shown.

 ![Screenshot_20220624-161247_Chrome](https://global.discourse-cdn.com/meta/original/4X/3/5/9/3591b812b721a10e4725ef83f9ff8266e7451f3e.jpeg)

I understand how to override text and I’ve done so here :

 ![Screenshot_20220624-161940_Chrome](https://global.discourse-cdn.com/meta/original/4X/f/6/a/f6aa4dd702b2d70b5eb495c5af74ebe9c061ccb8.jpeg)

Which is correctly applied here, on the groups page

 ![Screenshot_20220624-161737_Chrome](https://global.discourse-cdn.com/meta/original/4X/0/c/d/0cdb7cf5616aad18e530a9ab43fc65620e41a773.jpeg)

Am I missing another text field to override?

---

<div class="post-metadata">

### Author: ![not-ethan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/not-ethan/32/282617_2.png) [@not-ethan](https://meta.discourse.org/u/not-ethan)
#### Post date: [June 24, 2022, 8:34pm UTC](https://meta.discourse.org/t/trust-level-default-name/231050/2 "2022-06-24T20:34:48Z")

</div>

I guess that the flairs are on the automatic `trust_level_x` groups. If so the flair name will be of the name of the group.

---

<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: [June 24, 2022, 8:41pm UTC](https://meta.discourse.org/t/trust-level-default-name/231050/3 "2022-06-24T20:41:33Z")

</div>

trust\_level\_0 shows up correctly as “Rookie”. Maybe I changed another setting for that group without realizing it. But assuming I didn’t, the behavior here seems inconsistent between the default groups

---

<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: [August 7, 2022, 3:27am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/4 "2022-08-07T03:27:56Z")

</div>

This still seems to be persistent. Any solutions?

---

<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: [August 7, 2022, 3:47am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/5 "2022-08-07T03:47:42Z")

</div>

I’ve just had a quick go myself, and changed `trust_level_0` to ‘Derek’. However, on the Groups page I notice it is still nestled in with `trust_level_1`, etc in alphabetical order which suggests that the name hasn’t changed, only the full name. It doesn’t appear that the name can be changed from the Group settings page in the same way as manually created groups.

I’ll have a search based on this, but it may be that this cannot be changed without breaking underlying things.

Hmm, but you did Trust\_level\_0 yourself. I’ll add that into the mix.

* * *

@piffy I can’t find anything so far in Search, nor through the UI. Before I dive deeper, I should check if you did ‘Rookie’ by using the rails console?

Extra info:

This topic seems to have achieved inconsistent results too:

> [@Add Support for Handling Spaces in Custom-Named Trust Levels in Their Group Slugs](https://meta.discourse.org/t/add-support-for-handling-spaces-in-custom-named-trust-levels-in-their-group-slugs/142044):
>
> Hello again! First off, I want to say thank you to the Discourse team for a fantastic job improving the consistency of slug names versus full names in group titles. Now, I am experiencing a weird issue when attempting to replace the trust level names in my Discourse forum. I replaced all the names to the relevant titles in Jedi vernacular (Nerf herder, Youngling, Padawan, Jedi Knight, Jedi Master). (Well, almost all of the titles are relevant: we expect a lot of scruffy-looking, uncivilized smu…

I tried Rookie, and Padawan bit mine don’t change successfully. I wonder what I’m missing?

---

<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: [August 7, 2022, 4:31am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/6 "2022-08-07T04:31:13Z")

</div>

> [@JammyDodger](#):
>
> Before I dive deeper, I should check if you did ‘Rookie’ by using the rails console?

I can’t guarantee that I didn’t do that but I have no recollection of changing it from the console.

My forum was imported through a custom script. Maybe that’s a potential explanation? But I don’t believe I specified the name Rookie anywhere but the website UI

---

<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: [August 7, 2022, 5:08am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/7 "2022-08-07T05:08:34Z")

</div>

Okay, I have had some luck. If I change a trust\_level group name and then go to `/sidekiq` and run `Jobs::EnsureDbConsistency` that changes the slug for me. 👍

I will continue testing it out to see if I can do it consistently.

* * *

**Update:**

I can do this consistently. 👍 And the new slugs show up in the Flair menu:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/4/5/84539b037d6ee137a6e7ccfb0119e17ddee8c558.png)

Does this work for you too? My initial confusion was obviously based on impatience. 🙂 I think if I had left my changes in place until that sidekiq job had run as part of its regular schedule then it would have all happened automagically…

---

<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: [August 7, 2022, 5:55am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/8 "2022-08-07T05:55:35Z")

</div>

I really appreciate the thorough experimentation! Ill be sure to test this out on my site and let you know if it works

---

<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: [August 26, 2022, 7:13pm UTC](https://meta.discourse.org/t/trust-level-default-name/231050/9 "2022-08-26T19:13:15Z")

</div>

Sorry for the delayed response. It does not seem to have worked.

The problem is similar to the one mentioned here:

> [@Add Support for Handling Spaces in Custom-Named Trust Levels in Their Group Slugs](https://meta.discourse.org/t/add-support-for-handling-spaces-in-custom-named-trust-levels-in-their-group-slugs/142044/4):
>
> Want to also tag @laurent.c because he reported a version of the same problem in: In reference to: Usernames and groupnames don’t support spaces, so you would have to use an underscore in its place (like the default ones): I make that change and the slug does not change: It also will not change if I use a single word, which was successful for @Hifihedgehog.

The URL slug remains “trust\_level\_1”

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/e/9/ee9fc3de07cb5077eb385f5b316ca3fc8f513882.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/c/5/9/c590d8f0ac26a9937c214f741b6d8a544b777d48.png)

For me, this issue is limited to trust level 1 and 2, the others seem fine. I tried resetting the name back to “trust\_level\_1” and back to Trainer with no success. Running `Jobs::EnsureDbConsistency` does seem to trigger the update on the actual group name but it does not change the slug name for me or the name in the dropdown.

---

<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: [August 26, 2022, 7:40pm UTC](https://meta.discourse.org/t/trust-level-default-name/231050/10 "2022-08-26T19:40:09Z")

</div>

That’s interesting. I’ve been using this to consistently shuffle mine back and forth between all manner of names. I think the only one it struggled with was ‘modérateurs’ when I didn’t have `unicode usernames` enabled. Perhaps there’s another piece I’m missing. 🤔

Are these names being used anywhere else on your site? Pre-existing usernames, etc. Anything that could cause a conflict which the sidkiq job would gracefully ignore so as not to bork anything up?

---

<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: [August 28, 2022, 4:04am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/11 "2022-08-28T04:04:14Z")

</div>

> [@JammyDodger](#):
>
> Are these names being used anywhere else on your site? Deleted groups, etc. Anything that could cause a conflict which the sidkiq job would gracefully ignore so as not to bork anything up?

AHHA! I found the solution based on what you said here. It looks like there are users with the same username as the group name! Changing their names and running the sidekiq job fixes it.

Thanks so much. This was such a minor thing but it was bothering me for months now

---

<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: [August 28, 2022, 4:55am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/12 "2022-08-28T04:55:41Z")

</div>

Hooray! 🎉 🙂 I’ve given the solution post a little tweak to ~~make me sound smarter~~ contain the more useful example. 👍

---

<div class="post-metadata">

### Author: ![Sherran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sherran/32/267631_2.png) [@Sherran](https://meta.discourse.org/u/Sherran)
#### Post date: [August 29, 2022, 8:02am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/13 "2022-08-29T08:02:04Z")

</div>

Hi Jammy, I have the same problem and I don’t understand **“go to `/sidekiq` and run `Jobs::EnsureDbConsistency`”**.

What exactly shall I do? Thanks!

---

<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: [August 29, 2022, 8:26am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/14 "2022-08-29T08:26:05Z")

</div>

Sidekiq is where you find all the background jobs that work their magic backstage. They normally all work on a schedule, but can be hurried-up by triggering them manually.

If you add `/sidekiq/scheduler` to the end of your site address (ie `[YourSite]/sidekiq/scheduler`) you should see a list of all the scheduled jobs.

There’s one in there called `Jobs::EnsureDbConsistency` which you can run early to speed up the changes to your default group names.

Instead of scrolling down looking for it, you can also use Ctrl+F or ‘Find in page’, etc and search for something like ‘ensure’ to find it quicker (I think there are only two jobs with ensure in, so it narrows it down a fair bit 🙂)

---

<div class="post-metadata">

### Author: ![Sherran](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sherran/32/267631_2.png) [@Sherran](https://meta.discourse.org/u/Sherran)
#### Post date: [August 29, 2022, 8:33am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/15 "2022-08-29T08:33:37Z")

</div>

Thanks! Have triggered the item and it works fine.

---

<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 28, 2022, 8:34am UTC](https://meta.discourse.org/t/trust-level-default-name/231050/16 "2022-09-28T08:34:29Z")

</div>

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