# 'All Groups' option leads to Access Denied page

**URL:** https://meta.discourse.org/t/all-groups-option-leads-to-access-denied-page/88464
**Category:** Bug
**Created:** [25.Май.2018 17:11:35 UTC](https://meta.discourse.org/t/all-groups-option-leads-to-access-denied-page/88464 "2018-05-25T17:11:35Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Karl\_Romanowski](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/karl_romanowski/32/87676_2.png) [@Karl\_Romanowski](https://meta.discourse.org/u/Karl_Romanowski)
#### Post date: [25.Май.2018 17:11:35 UTC](https://meta.discourse.org/t/all-groups-option-leads-to-access-denied-page/88464/1 "2018-05-25T17:11:35Z")

</div>

When ‘enable group directory’ is unchecked and a user lands on a group page via Dev Tracker there is a dropdown with other groups:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/8/18afb8b9dfe2cb0ec1e4b14f44f548e9ecaf9b6c.png)

Selecting ‘all groups’ sends the user to /groups which shows them ‘Access Denied’

Expected that when the group directory is disabled ‘all groups’ is removed from the dropdown, or the dropdown is removed entirely.

---

<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: [25.Май.2018 21:14:53 UTC](https://meta.discourse.org/t/all-groups-option-leads-to-access-denied-page/88464/2 "2018-05-25T21:14:53Z")

</div>

Seems like a reasonable thing to fix @tgxworld

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [28.Май.2018 03:35:56 UTC](https://meta.discourse.org/t/all-groups-option-leads-to-access-denied-page/88464/4 "2018-05-28T03:35:56Z")

</div>

Fixed in

[https://github.com/discourse/discourse/commit/0b5541674252d89b3641565e5f48b932ac18b622](https://github.com/discourse/discourse/commit/0b5541674252d89b3641565e5f48b932ac18b622)

Thanks for reporting @Karl_Romanowski

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [28.Май.2018 03:35:58 UTC](https://meta.discourse.org/t/all-groups-option-leads-to-access-denied-page/88464/5 "2018-05-28T03:35:58Z")

</div>


