# 信任级别能否组件化（而非封装）？

**URL:** https://meta.discourse.org/t/can-trust-levels-be-componentized-vs-encapsulating/274000
**Category:** Support
**Created:** [2023年八月4日 17:54 UTC](https://meta.discourse.org/t/can-trust-levels-be-componentized-vs-encapsulating/274000 "2023-08-04T17:54:45Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![catchthewavecoke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/catchthewavecoke/32/423120_2.png) [@catchthewavecoke](https://meta.discourse.org/u/catchthewavecoke)
#### Post date: [2023年八月4日 17:54 UTC](https://meta.discourse.org/t/can-trust-levels-be-componentized-vs-encapsulating/274000/1 "2023-08-04T17:54:46Z")

</div>

在我们的社区中，我们正在利用用户“信任级别”来使某些类别仅对该信任级别可见。高信任级别（例如级别 3）包含较低的信任级别（例如，信任度高于级别 2）。我相信每个社区都是这样设置的。

我们的问题/目标：拥有可以隔离到特定信任组但不能隔离到另一组的类别，而无需封装（基本上是隔离每个组）。

我们的情况：  
我们的社区由会员组成，其中高信任级别的会员可以访问包含财务信息的类别，但低级别会员则不能（他们尚未签署保密协议）。还有其他类别需要单独的协议，低级别会员已签署，但财务访问会员尚未签署）。

一种简单的方法是设置信任级别，但它们不一定是另一个级别的子集。

希望我的第一个问题能被理解。附注：我们非常喜欢 Discourse，这是我们用过的最好的平台。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2023年八月4日 18:04 UTC](https://meta.discourse.org/t/can-trust-levels-be-componentized-vs-encapsulating/274000/2 "2023-08-04T18:04:46Z")

</div>

为每个级别以及签署保密协议的人创建一个组。不要使用信任级别。

---

<div class="post-metadata">

### Author: ![catchthewavecoke](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/catchthewavecoke/32/423120_2.png) [@catchthewavecoke](https://meta.discourse.org/u/catchthewavecoke)
#### Post date: [2023年八月4日 20:21 UTC](https://meta.discourse.org/t/can-trust-levels-be-componentized-vs-encapsulating/274000/3 "2023-08-04T20:21:44Z")

</div>

谢谢你，Jay！我现在意识到用户组的设置方式符合我的预期，但我们依赖于默认的信任级别分组机制。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2023年九月11日 11:01 UTC](https://meta.discourse.org/t/can-trust-levels-be-componentized-vs-encapsulating/274000/4 "2023-09-11T11:01:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
