# Old user suspension reasons have gone missing

**URL:** <https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305>\
**Category:** Bug\
**Created:** [Dezembro 31, 2015, 5:42am UTC](https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305 "2015-12-31T05:42:12Z")\
**Posts on this page:** 1\
**Showing post:** 35

<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:** [Janeiro 8, 2016, 5:55am UTC](https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305/35 "2016-01-08T05:55:51Z")

</div>

This will fix the vast majority of problems this generated

[https://github.com/discourse/discourse/commit/956e3ad2088a9ebe09338b94689f91d5975753e9](https://github.com/discourse/discourse/commit/956e3ad2088a9ebe09338b94689f91d5975753e9)

It looks for “auto change trust level” something that happens quite a lot being mislabeled as “check email” and for “impersonate” that was mislabeled as “check email”. Once it finds the bounds it takes one off the action number.

It logs what changes it makes in case we have to revert them. We can add a few more conditions but it should vastly improve the data quality.

---

_[View the full topic](https://meta.discourse.org/t/old-user-suspension-reasons-have-gone-missing/37305)._
