Is it possible to remove "Why not create a topic?" link for users, who don't have permission to create posts?

סיכום מבוסס בינה מלאכותית

A user reports that the “Why not create a topic?” link remains visible even when users lack permission to create posts due to the min trust to create topic setting, which is confusing. jomaxro identifies this as a UX issue and confirms it’s a bug. Johani provides a fix via a GitHub commit, and the original user 40_02 expresses gratitude for the swift resolution. johani and jomaxro are credited for addressing the issue promptly.

So I have the latest on the Moment Discourse installed (2.5.0.beta6). My options prevent a user from creating new topics, but at the bottom of the screen, there is a link “Why not create a topic?”, which brings “create a new topic” Dialogue. But this dialogue doesn’t work as expected. This is discouraging for users who wrote some text but found after that they can’t send it.

Is it possible to remove “Why not create a topic?” link?

2 לייקים

I’m tempted to call this a bug, but putting it in Contribute > UX for now. We hide the :heavy_plus_sign: New Topic button, the link should be hidden too.

6 לייקים

For full context, the issue here is with the min trust to create topic site setting. Category security permissions, which was my initial suspicion, works as expected (no link for users without create permission).

We’re working on a fix.

4 לייקים

This should fix the min_trust_to_create topic issue

https://github.com/discourse/discourse/commit/415c1bb9e1fa1b4d0621a3a31cfc0b7f4e99549d

Thanks for reporting it @40_02 :+1:

8 לייקים

@Johani, @jomaxro, you are awesome!!! I was thinking about posting this question much-much longer than it took for you to investigate the problem and create PR. I have no words to express my admiration the way you are supporting discourse! You definitely make this world a better place! Thank you!!! :folded_hands::heart:

7 לייקים