How to Hide Menus of Service Portal?

Saptashri
Tera Contributor

Please check the attached Image, We want to hide the portal menu"i.e. Knowledged,Catalog,Requests" for a single user based on role or group.
Any feasible solution would be appreciated.
Thank you.
Saptashri_0-1716455336691.png

 

5 REPLIES 5

dgarad
Giga Sage

Hi @Saptashri 

You should tag a condition to your menu item for the dashboard. Open the menu item and add this condition.


gs.hasRole('itil')



dgarad_0-1716456275557.png


This will hide the menu items for users who don't have itil role or from end users. Let me know if this worked for you

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad

Saptashri
Tera Contributor

Hey @dgarad,
We have tried similar solution but it didn't work.

can you share what you tried

If my answer finds you well, helpful, and related to the question asked. Please mark it as correct and helpful.

Thanks
dgarad

Saptashri
Tera Contributor

Here is the Screenshot of what I have tried.
Saptashri_0-1716459832644.png