# Approval button on user's profile doesn't work

**URL:** https://meta.discourse.org/t/approval-button-on-users-profile-doesnt-work/403620
**Category:** Bug
**Created:** [May 22, 2026, 11:52am UTC](https://meta.discourse.org/t/approval-button-on-users-profile-doesnt-work/403620 "2026-05-22T11:52:01Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [May 26, 2026, 1:47pm UTC](https://meta.discourse.org/t/approval-button-on-users-profile-doesnt-work/403620/11 "2026-05-26T13:47:14Z")

</div>

Since you’re working on the `must_approve_users` section of `track-setting-changes` anyway, could you also add a check to ensure that not only is the `target_id` correct, but that the `target_type` is a user? That could prevent a [flagged chat message from preventing a user from being approved](https://meta.discourse.org/t/must-approve-users-notifications-are-incorrectly-triggered-by-old-users/240731/4).

---

_[View the full topic](https://meta.discourse.org/t/approval-button-on-users-profile-doesnt-work/403620)._
