# ユーザーに権限がない場合でも「新規トピック」が利用可能

**URL:** https://meta.discourse.org/t/new-topic-still-available-when-users-dont-have-permission/404204
**Category:** UX
**Created:** [2026 年 6 月 1 日午後 1:17 UTC](https://meta.discourse.org/t/new-topic-still-available-when-users-dont-have-permission/404204 "2026-06-01T13:17:19Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2026 年 6 月 6 日午前 10:23 UTC](https://meta.discourse.org/t/new-topic-still-available-when-users-dont-have-permission/404204/11 "2026-06-06T10:23:10Z")

</div>

これを読むと、どこかで見たような気がしました。それほど遠くない過去に、関連する何かを見たような気がしていたのです。最初は、私の時間感覚がおかしくなっていて、Lilly がリンクしたコンポーネントのことだと思ったのですが、ようやく私が読んだ PR を見つけました。それは昨日マージされました：

> <https://github.com/discourse/discourse/pull/39918>
>
> In #33495 we made the new topic button stay visible regardless of posting permis…sions. When clicked while viewing a category that the user didn't have posting permissions for, they would see a greyed out category name in the select field with the \*\*read-only\*\* badge and be forced select a different category before posting.
> 
> This change adds a hidden site setting named \`hide\_disabled\_create\_topic\_button\`. When the setting is enabled:
> 
> \- hides the "New Topic" button in read-only categories
> \- hides the "New Topic" button when the current user doesn't have create permissions
> \- shows the "New Topic" button on other categories where the user has permission to post
> 
> Note that this change is for core and other themes and components may implement a separate "New Topic" button that does not currently respect this site setting.

> この変更により、`hide_disabled_create_topic_button` という非表示のサイト設定が追加されます。この設定が有効な場合：
> 
> - 読み取り専用カテゴリの「新規トピック」ボタンを非表示にする
> - 現在のユーザーに作成権限がない場合、「新規トピック」ボタンを非表示にする
> - ユーザーが投稿権限を持つ他のカテゴリでは「新規トピック」ボタンを表示する

まだ試していませんが、この非表示のサイト設定は、基本的に「新規トピック」ボタンの以前の動作を復元するもののようです。

---

_[View the full topic](https://meta.discourse.org/t/new-topic-still-available-when-users-dont-have-permission/404204)._
