# 无查看成员权限时不显示群组弹窗

**URL:** https://meta.discourse.org/t/no-group-popup-without-viewing-members-permission/150964
**Category:** Bug
**Created:** [2020年五月10日 15:19 UTC](https://meta.discourse.org/t/no-group-popup-without-viewing-members-permission/150964 "2020-05-10T15:19:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![thomas\_xr](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@thomas\_xr](https://meta.discourse.org/u/thomas_xr)
#### Post date: [2020年五月10日 15:19 UTC](https://meta.discourse.org/t/no-group-popup-without-viewing-members-permission/150964/1 "2020-05-10T15:19:11Z")

</div>

当帖子提及某个群组（@name）时，查看该帖子的用户点击该提及时会弹出一个窗口，其中包含加入群组或向其发送消息的按钮（如果用户有相应权限）。

但如果用户没有权限查看群组成员（这些成员显示在弹窗的左下角），点击该提及则没有任何反应：既不会弹出窗口，也不会打开 `https://discourse/g/name` 页面。

如果能为查看该帖子的用户提供其被允许的任何功能（加入群组或向群组发送消息），即使该用户无权列出群组成员，那将非常理想。

如果无法实现上述功能，或许可以允许点击链接直接打开群组页面 `https://discourse/g/name`。

我观察到此问题的 Discourse 实例此前运行的是 2.5.0.beta3 版本，我已将其升级到 2.5.0.beta4，但问题仍然存在。

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2020年五月10日 18:06 UTC](https://meta.discourse.org/t/no-group-popup-without-viewing-members-permission/150964/2 "2020-05-10T18:06:16Z")

</div>

> [@thomas\_xr](#):
>
> 但是如果用户没有权限查看组成员（显示在弹出窗口的左下角），点击提及不会有任何反应：既不会弹出窗口，也不会打开 `https://discourse/g/name` 页面。

这看起来像是一个 bug，@sam，我们可以分配给它吗？

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2020年五月13日 01:06 UTC](https://meta.discourse.org/t/no-group-popup-without-viewing-members-permission/150964/3 "2020-05-13T01:06:15Z")

</div>

@vinothkannans 你能调查一下这个问题吗？

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2020年五月24日 17:59 UTC](https://meta.discourse.org/t/no-group-popup-without-viewing-members-permission/150964/5 "2020-05-24T17:59:59Z")

</div>

此问题已在以下提交中修复

> <https://github.com/discourse/discourse/commit/058bf56b4cffe962af5dcb56b82926e62e15fb32>

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [2020年五月26日 12:30 UTC](https://meta.discourse.org/t/no-group-popup-without-viewing-members-permission/150964/6 "2020-05-26T12:30:02Z")

</div>

此主题已在 42 小时后自动关闭。不再允许新的回复。
