# Hidden Group Membership

**URL:** https://meta.discourse.org/t/hidden-group-membership/62884
**Category:** Feature
**Created:** [May 15, 2017, 3:04pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884 "2017-05-15T15:04:46Z")
**Posts on this page:** 12
**Page:** 2

<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: [May 24, 2017, 10:06pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/22 "2017-05-24T22:06:19Z")

</div>

I think we will have the change committed 3 weeks from today, it turned out to be a little more fragile than what I thought initially

---

<div class="post-metadata">

### Author: ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)
#### Post date: [May 24, 2017, 10:07pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/23 "2017-05-24T22:07:43Z")

</div>

Thanks for the update. That’s unfortunate but totally manageable on my end.

---

<div class="post-metadata">

### Author: ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)
#### Post date: [June 29, 2017, 6:23pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/25 "2017-06-29T18:23:43Z")

</div>

Any status updates on how this is coming?

---

<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: [June 29, 2017, 6:33pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/26 "2017-06-29T18:33:52Z")

</div>

I am slotting a couple of days for this next week starting Monday

---

<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: [July 3, 2017, 7:32pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/27 "2017-07-03T19:32:31Z")

</div>

This is now complete per:

[https://github.com/discourse/discourse/commit/845170bd6b53c3bea8a6f03d44971d8da1613176](https://github.com/discourse/discourse/commit/845170bd6b53c3bea8a6f03d44971d8da1613176)

Since you are on the business tier it will take a few more days till this is deployed, probably looking at going live on your site by the end of the week.

Enjoy, and may the 4th … of July … be with you.

---

<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: [July 3, 2017, 8:25pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/28 "2017-07-03T20:25:22Z")

</div>

Sam, if a group is not visible to a user, will the title become non-clickable?

---

<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: [July 3, 2017, 8:43pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/29 "2017-07-03T20:43:20Z")

</div>

Tricky, it depends.

If you set it as a title, but not primary group everything will work fine and the title will not be linkable.

If you set it to make a “hidden” group “primary” then it creates a 403 link there. I can fix it but it is fairly complicated to do efficiently.

For the time being there is a clear workaround (only set primary group to public groups)

---

<div class="post-metadata">

### Author: ![alehandrof](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alehandrof/32/119526_2.png) [@alehandrof](https://meta.discourse.org/u/alehandrof)
#### Post date: [July 3, 2017, 9:23pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/30 "2017-07-03T21:23:09Z")

</div>

FWIW, the other day I banged into the issue that Joshua asked about:

> [@Making a user's primary group non-visible (eventually) leads to a missing page](https://meta.discourse.org/t/making-a-users-primary-group-non-visible-eventually-leads-to-a-missing-page/65261):
>
> I’m guilty of trying something weird. But the system does allow it blush All the users in our Discourse are automatically members of groups based on their institutional affiliation (@myuni.edu or whatever). I’ve made these institutional groups the “primary” groups. I did this because I’m using the group’s “title” field to convey users’ institutional affiliation. Here’s what it looks like in a topic: For various reasons, I don’t want these groups to be visible to users. So I’ve mad…

It wasn’t a big issue for me, since I was able to easily use Joshua’s JS to remove the link. But it _would_ be nice if (eventually) the system was cleverer about handling this edge case – i.e., not using a link if the linked page isn’t available to the user.

---

<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: [July 3, 2017, 9:59pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/31 "2017-07-03T21:59:28Z")

</div>

> [@sam](#):
>
> If you set it as a title, but not primary group everything will work fine and the title will not be linkable.

The problem in my case is I need the primary group to get the CSS selector. As Alex said, the JS code I got works, but built in is always prefered.

---

<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: [July 19, 2017, 4:23pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/32 "2017-07-19T16:23:09Z")

</div>

FYI, this is now deployed on the business tier, let me know how you go.

---

<div class="post-metadata">

### Author: ![RyanK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryank/32/297314_2.png) [@RyanK](https://meta.discourse.org/u/RyanK)
#### Post date: [July 19, 2017, 6:16pm UTC](https://meta.discourse.org/t/hidden-group-membership/62884/33 "2017-07-19T18:16:12Z")

</div>

Working like a charm! thanks

---

<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: [November 13, 2017, 6:06am UTC](https://meta.discourse.org/t/hidden-group-membership/62884/34 "2017-11-13T06:06:16Z")

</div>



[Previous page](https://meta.discourse.org/t/hidden-group-membership/62884.md?page=1)
