Forum Discussion
alandarr
May 26, 2020Brass Contributor
Hiding links for users without access
I am trying to figure out how to hide links in the Top Bar navigation for users that do not have access to something. I find it strange that I don't get many search results in Google that even discus...
- May 26, 2020
Hi, The feature you are looking for is called security trimming, and you are correct in that if you want to make use of this then you will need to enable the publishing feature. So it's a bit of a trade off i'm afraid. You can read more about the options here - https://docs.microsoft.com/en-us/office365/enterprise/navigation-options-for-sharepoint-online
Martin-Coupal
May 27, 2020Iron Contributor
alandarr Depending on your requirements, one option could be to create a new site page and add the "Sites" web part. It can display sites attached to the hub and it is also security trimmed. Just link this page in your hub.
alandarr
May 27, 2020Brass Contributor
Thanks Martin-Coupal.
I will look into that. Sometimes you just have to look at something from a different perspective!