I have a menu item in my subsite menu (it is a term driven menu, so managed navigation) that links to a page with unique permissions. Only certain users have been given permissions to see the page and to edit it.
Let's say that person X and person Y have been given permissions to access this page and person Z doesn't have any permissions for this page at all. Page B is the page with the unique permissions.
This is the subsite menu that person X and Y see:
Page A Page B Page C Page D
And this is the subsite menu that person Z should see:
Page A Page C Page D
However currently person Z can still see page B in the subsite menu, but upon clicking that menu item linked to page B, person Z will get a "You have no access to this page". I want person Z to not see that menu item at all, person Z shouldn't see page B in the menu.
I want the menu item to be hidden if the user has no permissions for the page behind that menu item.
How exactly can I achieve this?
I've been searching all day and I just can't figure it out, to me it seems that this should be default behavior that a page isn't listed in the navigation when the user has no permissions to access it (be it reading, editing, contributing,.. doesn't matter).
Any help is greatly appreciated!!!
The answer to this question can be found here. It is quite long, please check the link for all the detailed information.