# 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:** 10

<div class="post-metadata">

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

</div>

This will _hopefully_ catch a couple of the edge cases you’ve all raised in this topic 👍

> <https://github.com/discourse/discourse/pull/40303>
>
> Previously, clicking Approve on a user's admin profile 500'd with \`Reviewable::I…nvalidAction\` when that user had a non-pending \`ReviewableUser\` (e.g., after \`UserDestroyer.destroy\` was rescued because the user had posts), and toggling on \`must\_approve\_users\` also skipped those users — leaving them permanently un-approvable from the admin UI.
> 
> This change gates the \`:approve\_user\` action on \`guardian.can\_approve?(target)\` instead of \`status == "pending"\`, fixes the auto-approval initializer to only skip users with a \*pending\* reviewable, and centralizes \`updatable\_reviewable\_scores\` so re-approval correctly flips \`disagreed\` scores back to \`agreed\`.
> 
> https://meta.discourse.org/t/403620

---

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