# Show group opt-in guidance on topics you have no access to

**URL:** https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195
**Category:** Feature
**Created:** [2월 27, 2019, 1:20오전 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195 "2019-02-27T01:20:58Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 27, 2019, 1:20오전 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/1 "2019-02-27T01:20:58Z")

</div>

Continuing the discussion from [Guide to Groups](https://meta.discourse.org/t/guide-to-groups/110064/8):

> [@Guide to Groups](https://meta.discourse.org/t/guide-to-groups/110064/7):
>
> if a user tries to follow a link to an opt-in category / topic that they’re not opted in to see, they get an unhelpful error, and no means of opting in.

1. If you visit a topic in a category you have **no permissions for**

2. AND you are a logged on user

3. AND can gain permission by requesting membership, we should display a helpful message saying:

> Hey, you can not see this topic, but if you join the `AWESOME` group you will be able to see it, [request membership]

just pick the first group if there is a multi match

This does leak out a bit of information about “who can see” a topic which we do not leak out now. However to leak this data you got to create a group that accepts membership requests, so you kind of opted for it.

I really like this feature request, going to slot it for 2.3

---

<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: [2월 27, 2019, 1:22오전 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/2 "2019-02-27T01:22:51Z")

</div>

Yes I agree this is a very sensible request and we should make it so.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2월 27, 2019, 2:51오전 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/3 "2019-02-27T02:51:35Z")

</div>

I have a community with way too many categories. It would be nice to be able to hide most of them but still make it easy for anyone to see them.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2월 28, 2019, 3:13오후 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/4 "2019-02-28T15:13:55Z")

</div>

@maja can you add that to your list?

---

<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: [5월 1, 2019, 10:23오후 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/5 "2019-05-01T22:23:32Z")

</div>

Where are we at on this @maja?

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [5월 9, 2019, 8:03오전 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/6 "2019-05-09T08:03:27Z")

</div>

Sorry for the delay. It’s almost done, will open a PR today.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [7월 3, 2019, 9:49오전 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/7 "2019-07-03T09:49:04Z")

</div>

Here’s the PR

[https://github.com/discourse/discourse/pull/7521](https://github.com/discourse/discourse/pull/7521)

@j.jaffeux can you take over?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [7월 4, 2019, 8:13오전 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/9 "2019-07-04T08:13:07Z")

</div>

Ok I just merged it:

> <https://github.com/discourse/discourse/pull/7852>
>
> \<img width="706" alt="Screenshot 2019-07-03 at 17 31 47" src="https://user-image…s.githubusercontent.com/339945/60604704-742a8e00-9db8-11e9-8f0f-a5c2b5f8e2d4.png"\>
> 
> https://github.com/discourse/discourse/pull/7521

congrats @maja 🎉

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7월 4, 2019, 12:17오후 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/10 "2019-07-04T12:17:14Z")

</div>

This sounds great. Would it be possible to, say, have an example of its use on try? Does it Just Work if there is a category exclusive to some group and the group allows access requests?

Edit: I guess rereading the OP would have been smart. 🙁

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [7월 4, 2019, 4:23오후 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/13 "2019-07-04T16:23:00Z")

</div>

It works as said in OP:

> [@sam](#):
>
> - If you visit a topic in a category you have **no permissions for**
> - AND you are a logged on user
> - AND can gain permission by requesting membership, we should display a helpful message

Meaning the visited topic must have its category with a group with request-able membership set in security permissions.

> 💡 You need to enable the `detailed_404` site setting for this to work.

There’s a screenshot in the commit:

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/e/2ee810e865149fbd259217b4dc3907a90db7a029.png)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [7월 6, 2019, 4:00오후 UTC](https://meta.discourse.org/t/show-group-opt-in-guidance-on-topics-you-have-no-access-to/110195/14 "2019-07-06T16:00:02Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
