# 根据信任级别或组限制用户配置文件

**URL:** https://meta.discourse.org/t/restricting-user-profiles-based-on-trust-level-or-group/204509
**Category:** Feature
**Created:** [2021年九月27日 03:41 UTC](https://meta.discourse.org/t/restricting-user-profiles-based-on-trust-level-or-group/204509 "2021-09-27T03:41:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Frully](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frully/32/235059_2.png) [@Frully](https://meta.discourse.org/u/Frully)
#### Post date: [2021年九月27日 03:41 UTC](https://meta.discourse.org/t/restricting-user-profiles-based-on-trust-level-or-group/204509/1 "2021-09-27T03:41:04Z")

</div>

问候，友好的朋友们

我已经做了一些搜索，但没有看到完全符合我们需求的内容：  
[Restrict public viewing of user profile](https://meta.discourse.org/t/restrict-public-viewing-of-user-profile/21098) 源功能

在我们的使用场景中（一个拥有内部会员制的创客空间，同时向公众开放提问、分享展示等），我们通过 API 生成组织内用户，并赋予他们信任等级 3。公众用户则通过群组限制为信任等级 0、1 或 2。我们希望能够阻止非组织成员查看用户卡片或个人资料，可以通过群组或信任等级 3+ 等方式实现。

补充说明：主要原因是，作为一个会员制组织，我们希望能够在个人资料中使用真实姓名，同时避免将大家的真实姓名与常用网络昵称之间的关联公开（即防止人肉搜索）。

这个请求合理吗？

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2021年九月28日 17:28 UTC](https://meta.discourse.org/t/restricting-user-profiles-based-on-trust-level-or-group/204509/2 "2021-09-28T17:28:37Z")

</div>

此插件可能有所帮助。

> [@Custom Trust Level](https://meta.discourse.org/t/custom-trust-level/147253?u=heliosurge):
>
> This plugin allows you to add a few custom trust levels capabilities in Discourse. This plugin allows you to add/revoke a few capabilities of users of some trust levels. These capabilities can be added/revoked using the site settings. These capabilities can be added/revoked to/from all the users of that trust level. [Get the code](https://github.com/Ahmedgagan/discourse-custom-trust-level)raising_hand_man You can request a feature or report a bug in a reply below or message a maintainer. Setup All site settings of this…

如果该选项出现在帖子中（例如点击帖子中的我的个人资料），您可能需要使用 CSS 来隐藏此选项，或使用自定义插件。

上述作者可能愿意添加该功能，但需要与其协商。
