# How to auto remove from groups when trust level falls?

**URL:** <https://meta.discourse.org/t/how-to-auto-remove-from-groups-when-trust-level-falls/200231>\
**Category:** Product Support\
**Created:** [August 12, 2021, 6:06pm UTC](https://meta.discourse.org/t/how-to-auto-remove-from-groups-when-trust-level-falls/200231 "2021-08-12T18:06:53Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Garrick](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Garrick](https://meta.discourse.org/u/Garrick)\
**Post date:** [August 13, 2021, 3:04pm UTC](https://meta.discourse.org/t/how-to-auto-remove-from-groups-when-trust-level-falls/200231/7 "2021-08-13T15:04:05Z")

</div>

> [@pfaffman](#):
>
> `User.where(manual_locked_trust_level: 3).update_all(manual_locked_trust_level: nil, trust_level: 1)`

Thank you Jay! Worked

---

_[View the full topic](https://meta.discourse.org/t/how-to-auto-remove-from-groups-when-trust-level-falls/200231)._
