Demoted Leaders keep title


(Jacob) #1

I was demoted from Leader but I still have the title, in fact I don’t think I can remove the title if I tried.


(Jeff Atwood) #2

How do you think we should handle this @sam? I agree in this case it is confusing and arguably misleading…


(Kane York) #3

Maybe the trust_level_3_alumnus status could help out here?

(it was on a wishlist somewhere)


(Sam Saffron) #4

Badge revoke path should handle this


#5

Just noticed that the title also sticks around if it was set prior to the changes in the trust level names.

So we now have the situation where you have a title that says “Leader” although the badge is now named “Regular” and the new title of “Leader” that was formerly know as “Elder”.

The two can co-exist quite happily in the same community.


(Sam Saffron) #6

I am going to have to add a “title_reason” field to the user table and track why certain users have a title, if the reason is a badge I should confirm names match say daily and then blank out ones that no longer match.

This would also catch badge renames and other related issues.


(Sam Saffron) #7

This is now fixed, ungranted titles are revoked daily with the badge grant.

https://github.com/discourse/discourse/commit/0e7be81e60bb98c7e7a7501585a6589056550832


(Sam Saffron) #8