# Insights geram erro para Moderadores de Categoria na página de denúncias

**URL:** <https://meta.discourse.org/t/insights-raise-error-for-category-moderators-on-report-page/392975>\
**Category:** Bug\
**Tags:** category-moderators, review-queue, reporting\
**Created:** [8 Janeiro , 2026 14:42 UTC](https://meta.discourse.org/t/insights-raise-error-for-category-moderators-on-report-page/392975 "2026-01-08T14:42:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [19 Fevereiro , 2026 11:44 UTC](https://meta.discourse.org/t/insights-raise-error-for-category-moderators-on-report-page/392975/4 "2026-02-19T11:44:08Z")

</div>

Tenho quase certeza de que isso foi corrigido por @small-lovely-cat em

> <https://github.com/discourse/discourse/pull/36953>
>
> When adding a user as the category moderator, the user wasn't grant the \`staff\` …permission.
> 
> And when they moderate reviews, the insight page will bump \`An error occurred: Page Not Found。\`
> 
> The issue is caused by the \`loadIpData()\` function, when it tries to get \`/admin/users/xxxx.json\`, the permission is denied by the backend.
> 
> This commit add a logic, to exclude users without staff permissions from requesting this api in frontend, so that there won't be a dialog here.
> 
> See the attachment.
> 
> \<img width="1116" height="200" alt="image" src="https://github.com/user-attachments/assets/78d1ae55-3d76-43d5-acbd-55e35597ce17" /\>

---

_[View the full topic](https://meta.discourse.org/t/insights-raise-error-for-category-moderators-on-report-page/392975)._
