# 私人主题插件

**URL:** https://meta.discourse.org/t/private-topics-plugin/268646
**Category:** Plugin
**Created:** [2023年六月16日 16:17 UTC](https://meta.discourse.org/t/private-topics-plugin/268646 "2023-06-16T16:17:53Z")
**Posts on this page:** 7
**Page:** 6

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2026年三月5日 22:17 UTC](https://meta.discourse.org/t/private-topics-plugin/268646/105 "2026-03-05T22:17:38Z")

</div>

我无法重现此问题。您能给我发送一个私信，提供具体的重现步骤吗？

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2026年三月7日 11:19 UTC](https://meta.discourse.org/t/private-topics-plugin/268646/106 "2026-03-07T11:19:42Z")

</div>

> [@SubStrider](#):
>
> 私密支持帖的预览是可见的

⚠ 如果您向私密主题类别添加 `everyone`，它将无法按预期工作。⚠

类别中有一个很大的警告 → 安全。我想我们需要一个更大的警告 🙂

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/5/5/2556eb79630b451372017021b7e6d50843173924.png)

---

<div class="post-metadata">

### Author: ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)
#### Post date: [2026年四月22日 16:03 UTC](https://meta.discourse.org/t/private-topics-plugin/268646/107 "2026-04-22T16:03:21Z")

</div>

我想申请一个功能：

用户在回复时，可能没有意识到：如果收件人不在能够查看所有主题的用户组中，提及（mention）他们不会触发通知。

在这种情况下，是否有可能添加一个常规警告（例如：“用户 XY 将不会收到通知，因为他无法查看这些主题”）？

在我们的场景中，显示参与所需的成员资格也会很有帮助，但我认为这并非普遍需求。

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2026年四月22日 16:26 UTC](https://meta.discourse.org/t/private-topics-plugin/268646/108 "2026-04-22T16:26:39Z")

</div>

它已经这样做了？（我刚刚又确认了一下）。

---

<div class="post-metadata">

### Author: ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)
#### Post date: [2026年四月22日 16:37 UTC](https://meta.discourse.org/t/private-topics-plugin/268646/109 "2026-04-22T16:37:53Z")

</div>

嗯，我也检查了。我做了以下操作：

- 在一个启用了私密话题的类别中创建了一个话题。
- 自己回复并提及了一个无权查看的人。
- 预期结果：收到警告，提示提及将无法送达。
- 当前行为：没有收到任何警告。

如果在你那边确实发出了警告：我该如何排查我观察到的不同情况？

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [2026年四月22日 17:00 UTC](https://meta.discourse.org/t/private-topics-plugin/268646/110 "2026-04-22T17:00:32Z")

</div>

我会给你发私信。

---

<div class="post-metadata">

### Author: ![thoka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thoka/32/115652_2.png) [@thoka](https://meta.discourse.org/u/thoka)
#### Post date: [2026年四月22日 20:15 UTC](https://meta.discourse.org/t/private-topics-plugin/268646/111 "2026-04-22T20:15:04Z")

</div>

问题的一部分：

> [@Uppercase letters in username break reachable mention check in composer](https://meta.discourse.org/t/uppercase-letters-in-username-break-reachable-mention-check-in-composer/401292):
>
> While investigating [Private Topics Plugin - #109 by thoka](https://meta.discourse.org/t/private-topics-plugin/268646/109) I stumbled upon the fact, that a mention for a user in a restricted category is not reported, when the username contains uppercase letters. If I mention @SomeUser, the editor requests /composer/mentions.json?names[]=SomeUser&topic\_id=10728 in the result the username is returned in lowercase, without user\_reasons set. A query for the username in lowercase letters returns "user\_reasons": {"someuser":"category"}. If I use lowercase let…

另一部分似乎是编辑器在请求可提及用户时存在难以测试的时间依赖问题。目前看来，它似乎无法可靠地报告。

[上一頁](https://meta.discourse.org/t/private-topics-plugin/268646.md?page=5)
