# Le titre de l'utilisateur ne se met pas à jour en fonction du groupe principal

**URL:** https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200
**Category:** Bug
**Created:** [Septembre 14, 2018, 4:35 UTC](https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200 "2018-09-14T16:35:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [Septembre 14, 2018, 4:35 UTC](https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200/1 "2018-09-14T16:35:04Z")

</div>

For example, I have this user set to contributor, but member is showing up as their title. The flair is updating correctly as I have the tree set to contributor

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

![image](https://global.discourse-cdn.com/meta/original/3X/3/3/33d617ed19d6b94ebcf52b9651cf361a7ec2235b.png)

I did have members set as apply as primary group, but I just turned that off and it’s still not updating. I tried removing both groups, saving, re-adding just contributor and it still shows as member.

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [Septembre 14, 2018, 4:51 UTC](https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200/2 "2018-09-14T16:51:16Z")

</div>

Hi David

Are you doing this through the user’s admin page?

Is it possible that the member has manually chosen ‘Member’ via their profile preferences page? It could be a matter of conflicting priorities.

I’m looking into this but it is hard to repro exactly.

It is also possible that if you had Member set to primary, that it might take a while for the database to update, but I’m not sure.

If you can wait for a while to check it to see if it is a matter of polling of the database it might help, but I’ll see if I can get more information for you

Robert

---

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [Septembre 14, 2018, 5:01 UTC](https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200/3 "2018-09-14T17:01:38Z")

</div>

Thanks, I tried impersonating the user and their title is set to none, shouldn’t this update based upon what the admin sets it to? When I set it to contributor while impersonating it does update properly.

---

<div class="post-metadata">

### Author: ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)
#### Post date: [Septembre 14, 2018, 5:22 UTC](https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200/4 "2018-09-14T17:22:21Z")

</div>

👋 I am working to improve / clarify the feature around primary group and title, including a “fix” to this:

> [@User in multiple groups, title display and group link don't match](https://meta.discourse.org/t/user-in-multiple-groups-title-display-and-group-link-dont-match/96502/17):
>
> We should always prefer title to match you current primary group if it grants a title.

---

<div class="post-metadata">

### Author: ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)
#### Post date: [Octobre 2, 2018, 9:54 UTC](https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200/5 "2018-10-02T09:54:47Z")

</div>

The behavior has been changed so that

> [@User in multiple groups, title display and group link don't match](https://meta.discourse.org/t/user-in-multiple-groups-title-display-and-group-link-dont-match/96502/22):
>
> If the user’s title is granted by their primary group, we will keep the title in sync when switching primary groups.

---

<div class="post-metadata">

### Author: ![xrav3nz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xrav3nz/32/76894_2.png) [@xrav3nz](https://meta.discourse.org/u/xrav3nz)
#### Post date: [Octobre 5, 2018, 10:00 UTC](https://meta.discourse.org/t/user-title-not-updating-based-up-primary-group/97200/6 "2018-10-05T10:00:01Z")

</div>

This topic was automatically closed after 3 days. New replies are no longer allowed.
