# Group owners cannot see group if "Group is visible to all users" is off

**URL:** https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688
**Category:** Bug
**Tags:** groups
**Created:** [Fevereiro 1, 2017, 2:57am UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688 "2017-02-01T02:57:31Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Fevereiro 1, 2017, 2:57am UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/1 "2017-02-01T02:57:31Z")

</div>

When working to add [custom styling via CSS](https://meta.discourse.org/t/apply-css-to-all-custom-non-badge-user-titles/51376), we had to make a custom group for the users. To help manage the group going forward, all moderators were added to the group as owners. However, the moderators aren’t able to see the group on the `/groups` page, despite being owners.

---

<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: [Fevereiro 1, 2017, 3:39am UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/2 "2017-02-01T03:39:29Z")

</div>

Any ideas here @tgxworld?

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [Fevereiro 1, 2017, 3:39pm UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/3 "2017-02-01T15:39:01Z")

</div>

A lot of the group features are tied to the group being visible to the public.

I have the opposite problem from @jomaxro in that I have groups available to the public (e.g., for directories of users) but I don’t want the groups to be visible directly on the /groups page.

One solution for both issues would be to have a setting on each individual group for “show on Groups page”.

This feature could still respect the permissions for accessing non-public groups. Users could see that were was a group on the /group page, but if they select the group, it could show the permission/error screen unless they are a member of the group.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Fevereiro 1, 2017, 4:16pm UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/4 "2017-02-01T16:16:09Z")

</div>

> [@scombs](#):
>
> One solution for both issues would be to have a setting on each individual group for “show on Groups page”.

How would that solve my issue? I don’t want it visible to the general community - I only want there to be an easy way for owners to see their own groups.

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [Fevereiro 1, 2017, 4:47pm UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/5 "2017-02-01T16:47:12Z")

</div>

Ok. So your requirement would be:

- show non-public groups on the group page (but only to group members)

To cover the scenario of not showing public groups, how about also:

- add setting to individual group page for `hide on group page`

Groups can be used for a lot of different reasons (permissions, events, directories, badges, etc.) so suppressing a group from the /groups page would be a nice option to have.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Fevereiro 1, 2017, 4:52pm UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/6 "2017-02-01T16:52:57Z")

</div>

> [@scombs](#):
>
> show non-public groups on the group page (but only to group members)

No. I only want it visible to group _owners_ - the people who need the ability to edit the group.

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [Fevereiro 1, 2017, 5:53pm UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/7 "2017-02-01T17:53:45Z")

</div>

Ok. My bad. I read “owners” in your original post but then thought it would be useful for other group members to find their non-public groups too. So not technically not part of “your requirement.”

How about restating as follows:

- list public and non-public groups on the /groups page
- the label for the non-public group could be “Restricted” unless the user is a member in which case the label would include the existing membership label
- add setting to individual group page for `hide on groups page (will remain visible for group owners)` (default to yes for non-public)
- setting would apply for public and non-public groups

I realize we are solving for slightly different issues, so forgive my hijacking your requirements.

However, if we are going to address the logic of what shows up on the /groups page, I’d like to consider the use case of suppressing public groups from that page. The above get us there with the exception for always showing group owners their groups.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Fevereiro 1, 2017, 6:01pm UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/8 "2017-02-01T18:01:17Z")

</div>

> [@scombs](#):
>
> No entanto, se formos abordar a lógica do que aparece na página /groups, gostaria de considerar o caso de uso de ocultar grupos públicos dessa página. O que foi descrito acima nos leva a isso, com exceção da exibição sempre dos grupos aos seus proprietários.

Preciso discordar que sua solicitação seja um bug - parece-me mais um pedido de #Contribute > Feature (recurso). Tudo o que estou procurando é que os proprietários possam acessar e editar os grupos que possuem, o que atualmente só é possível conhecendo a URL exata ou fazendo parte desse grupo. Seus recursos parecem expandir a página de grupos (o que não me opõe), mas não parece ser um #Contribute > Bug (“Um relatório de bug significa que algo está quebrado, impedindo o uso normal/típico do Discourse.”)

---

<div class="post-metadata">

### Author: ![scombs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/scombs/32/48616_2.png) [@scombs](https://meta.discourse.org/u/scombs)
#### Post date: [Fevereiro 1, 2017, 6:49pm UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/9 "2017-02-01T18:49:17Z")

</div>

I believe the /groups page was initially spec’d out for public groups only. It was not a “my groups” page (which would be nice by the way).

I fully support your request since it would make group administration easier for group owners (non-admins). I will leave the bug vs. feature decision for others.

Technically group owners have to be members of the group. I wish that were not true, but I believe that is how it works now. The group slugs are listed on the owner/member’s profile page. Not a convenient way to find a group at all but technically there.

Happy to split my feature request off, but if we are looking at the logic of the page, I would like to add some flexibilty.

My additional request also let’s non-owners find their groups (and the display of those groups can be turned off if needed).

---

<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: [Fevereiro 3, 2017, 5:34am UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/10 "2017-02-03T05:34:03Z")

</div>

This bug is valid, we show all groups to admin so it makes sense to show groups that the user is an owner of as well.

---

<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: [Fevereiro 3, 2017, 8:53am UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/11 "2017-02-03T08:53:02Z")

</div>

Ok I have a PR up at

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

---

<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: [Fevereiro 20, 2017, 2:12am UTC](https://meta.discourse.org/t/group-owners-cannot-see-group-if-group-is-visible-to-all-users-is-off/56688/12 "2017-02-20T02:12:16Z")

</div>


