Skip to main content
Solved

Hiding a menu option or Group to non-logged in users

  • February 20, 2023
  • 1 reply
  • 39 views

We have set up a group in our community which we want to be private, i.e. users request to join it, but we only want users with a certain custom role to be able to request to join. Is this possible? If so how?

 

Alternatively, is it possible to hide the group menu option on the mega menu to just users with a given custom role?

 

Thank you in advance!

Ellie

Best answer by olimarrio

Hi @ellie.jordan.rh 👋,

Technically something like this is possible via Third Party Scripts but I’d advise against this as it may break and users would also still have the ability to access the groups page to request access to these private groups (for instance if they knew they knew the Groups landing page URL), so it may not be as secure as is required.

What I would recommend is to wait for our upcoming Custom Pages functionality to be released. These custom pages would be able to display a Groups widget of selected private groups, whilst also only being accessible to users with the correct role permissions (similar to the existing permissions toggles for Community & Knowledge Base).

 

1 reply

olimarrio
Forum|alt.badge.img+5
  • Gainsight Employee ⭐️
  • Answer
  • February 24, 2023

Hi @ellie.jordan.rh 👋,

Technically something like this is possible via Third Party Scripts but I’d advise against this as it may break and users would also still have the ability to access the groups page to request access to these private groups (for instance if they knew they knew the Groups landing page URL), so it may not be as secure as is required.

What I would recommend is to wait for our upcoming Custom Pages functionality to be released. These custom pages would be able to display a Groups widget of selected private groups, whilst also only being accessible to users with the correct role permissions (similar to the existing permissions toggles for Community & Knowledge Base).