# Hidden category not hidden in top menu

**URL:** <https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219>\
**Category:** UX\
**Created:** [2017年五月6日 13:07 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219 "2017-05-06T13:07:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [2017年五月6日 13:07 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219/1 "2017-05-06T13:07:27Z")

</div>

When a restricted category is added to the top menu (like “Bugs” and “Features” here on Meta), these will be displayed for users who cannot actually access them. It would be great if these were only displayed for users who at least have read access…

---

<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:** [2017年五月6日 18:55 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219/2 "2017-05-06T18:55:58Z")

</div>

This is not supported. Why would you add top level links to a secure category?

---

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [2017年五月6日 19:12 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219/3 "2017-05-06T19:12:12Z")

</div>

Because I have a closed user group (i.e. a closed category) whose members are having difficulties finding their way around. Adding “their” category to the top menu gives them a sense of security or control (“I can always find my way back to my home category”).

---

<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:** [2017年五月6日 19:21 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219/4 "2017-05-06T19:21:24Z")

</div>

If you do this, you will have to suffer the consequences, that is, users without access to the category will complain.

---

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [2017年五月7日 15:31 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219/5 "2017-05-07T15:31:09Z")

</div>

为什么不直接把隐藏的分类移到你的分类列表顶部呢？

作为成员你将看到的内容：

 ![VcNgEYd](https://global.discourse-cdn.com/meta/original/4X/6/9/c/69cd899200924bc0e6dae44effb7dfef66394d14.png)

 ![jSgM8Ma](https://global.discourse-cdn.com/meta/original/4X/2/b/9/2b9f08c4528339b19aff70183781b1deb1f93a6c.png)

普通用户无法看到隐藏的分类，但该分类的成员在任何地方都能首先看到它。

作为普通用户你将看到的内容：

 ![V8pNhMi](https://global.discourse-cdn.com/meta/original/4X/3/1/6/316d5109346f39d69c97fd0acd930034ecbbcd07.png)  
 ![XRFdrcj](https://global.discourse-cdn.com/meta/original/4X/4/2/2/4224bf74c0db049ea9f299dedf4425b5ff299b8e.png)

---

<div class="post-metadata">

**Author:** ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)\
**Post date:** [2017年五月7日 16:08 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219/6 "2017-05-07T16:08:38Z")

</div>

> [@Trash](#):
>
> Why don’t you simply move the hidden category at the top of your categories list?

Good idea, at least for desktop view (although it still requires them to click on a button called “all categories” which, if you’re overwhelmed, is not necessarily something you do), but the problem in my particular case is that the category in question is a subcategory. So this doesn’t work (or am I missing something?).

> [@codinghorror](#):
>
> If you do this, you will have to suffer the consequences, that is, users without access to the category will complain.

I hear you saying “this is not a priority to fix”. So be it. But do you agree that it would make sense that restricted categories are hidden from non-eligible users no matter where they appear?

---

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [2017年五月7日 23:00 UTC](https://meta.discourse.org/t/hidden-category-not-hidden-in-top-menu/62219/7 "2017-05-07T23:00:50Z")

</div>

@tophee, what do you think of this plugin in the meanwhile?

> [@Custom Topic Button (group)](https://meta.discourse.org/t/add-a-button-at-the-bottom-of-a-topic-visible-to-a-specific-group-discourse-topic-group-button/36216):
>
> information_source Deprecated: There is now a #theme-component that provides the same feature: [Topic Footer Buttons](https://meta.discourse.org/t/topic-footer-buttons/116968) Summary: This plugin adds a custom button at the bottom of a topic, visible only to staff or members of a specific group. link GitHub: [https://github.com/discourse/discourse-topic-group-button](https://github.com/discourse/discourse-topic-group-button)arrow_right Install: Follow the [plugin installation guide](https://meta.discourse.org/t/install-a-plugin/19157). Features Configuration From Admin \> Site Settings \> Plugin, modify topic\_group\_button\_url topic\_group\_butt…

Maybe you can pin a topic and add a button visible only to your group.
