# 是否可以为没有发帖权限的用户移除“为何不创建一个主题？”链接？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297>\
**Category:** UX\
**Created:** [2020年六月9日 13:28 UTC](https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297 "2020-06-09T13:28:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![40\_02](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/40_02/32/157262_2.png) [@40\_02](https://meta.discourse.org/u/40_02)\
**Post date:** [2020年六月9日 13:28 UTC](https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297/1 "2020-06-09T13:28:56Z")

</div>

所以我已安装了最新的 Moment Discourse 插件（2.5.0.beta6）。我的设置禁止用户创建新话题，但在屏幕底部仍有一个链接“为什么不创建一个话题？”，点击后会弹出“创建新话题”的对话框。然而，该对话框并未按预期工作。这对那些已经输入了一些文字却发现无法发送的用户来说，非常令人沮丧。

是否可以移除“为什么不创建一个话题？”这个链接？

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/b/cbec0938260ebaf2c9f385d0d0447badea1e1c8f.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/4/3/431af4d827bf1e20a888c03ec4a0b6509ec5adf7.gif)

---

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [2020年六月9日 13:31 UTC](https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297/2 "2020-06-09T13:31:45Z")

</div>

我差点想把它当成一个 bug，但暂时先放在 #Contribute > UX 里。我们隐藏了 ➕ New Topic 按钮，链接也应该隐藏。

---

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [2020年六月9日 15:19 UTC](https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297/7 "2020-06-09T15:19:30Z")

</div>

为了提供完整上下文，这里的问题出在 `min trust to create topic` 站点设置上。类别安全权限（我最初的怀疑对象）按预期工作（无创建权限的用户不会看到链接）。

我们正在修复此问题。

---

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [2020年六月9日 16:09 UTC](https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297/8 "2020-06-09T16:09:11Z")

</div>

这应该能解决 `min_trust_to_create` 主题的问题

> <https://github.com/discourse/discourse/commit/415c1bb9e1fa1b4d0621a3a31cfc0b7f4e99549d>
>
> Users with TL below the "min trust to create topic" setting used to see a prompt… to create new topics in the footer message below the topic list. Those topics would never be submitted because those users don't meet the TL requirements to create a new topic (based on that site setting). This PR removes that prompt for those users.

感谢你的报告 @40_02 👍

---

<div class="post-metadata">

**Author:** ![40\_02](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/40_02/32/157262_2.png) [@40\_02](https://meta.discourse.org/u/40_02)\
**Post date:** [2020年六月9日 16:30 UTC](https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297/9 "2020-06-09T16:30:24Z")

</div>

@Johani, @jomaxro，你们太棒了！！！我本来以为要纠结很久才能提出这个问题，没想到你们这么快就查明了原因并创建了 PR。我简直无法用言语表达我对你们支持 Discourse 的钦佩之情！你们确实让这个世界变得更美好了！非常感谢！！！🙏❤

---

<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日 06:15 UTC](https://meta.discourse.org/t/is-it-possible-to-remove-why-not-create-a-topic-link-for-users-who-dont-have-permission-to-create-posts/154297/10 "2020-06-10T06:15:04Z")

</div>


