# 如何防止用户访问Discourse中的徽章页面？

**URL:** <https://meta.discourse.org/t/how-to-prevent-users-from-accessing-the-badge-page-in-discourse/347863>\
**Category:** Support\
**Created:** [2025年一月19日 01:11 UTC](https://meta.discourse.org/t/how-to-prevent-users-from-accessing-the-badge-page-in-discourse/347863 "2025-01-19T01:11:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![copymonopoly](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@copymonopoly](https://meta.discourse.org/u/copymonopoly)\
**Post date:** [2025年一月19日 14:45 UTC](https://meta.discourse.org/t/how-to-prevent-users-from-accessing-the-badge-page-in-discourse/347863/5 "2025-01-19T14:45:44Z")

</div>

起初，我想隐藏用户列表中的特定用户。我找到的解决方案是禁用用户列表，并用积分排名替换它，其中可以隐藏特定组。但是，用户仍然可以在徽章列表中找到。我找到的解决方案是改用主组，将徽章设置为隐藏，然后该组可以隐藏其他成员。但最终，我发现隐藏的徽章仍然可以在列表中访问。

> [@Do not display the usernames that hold a specific badge](https://meta.discourse.org/t/do-not-display-the-usernames-that-hold-a-specific-badge/254318):
>
> Is there a way to hide the list of users that have a specific badge? I’ve looked at [Don't list members having the same badges](https://meta.discourse.org/t/dont-list-members-having-the-same-badges/172240) and [Hide badge user list?](https://meta.discourse.org/t/hide-badge-user-list/46471) but they don’t quite fit our use case (or more likely, our edge case). Badges are hugely popular in our community, they’re a fantastic resource for engagement. We have some premium categories on our Discourse which are only available to subscribers / paying-members and we would like to reward those paying members with a gold badge for their p…

---

_[View the full topic](https://meta.discourse.org/t/how-to-prevent-users-from-accessing-the-badge-page-in-discourse/347863)._
