How to show or hide menu items based on the roles in Orchard Core 1.6.0?

44 Views Asked by At

I am having 2 content items linked to 2 menu items in an Orchard Core menu.

I added a new role and set permission to only a specific content item, and removed the view permission of other content item.

Still both the content items are shown in the menu.

Any suggestions on how to show or hide menu items based on the roles in Orchard Core 1.6.0?

I tried enabling the securable option in the menu content type definition as per another post in StackOverflow.

Show menu items when authenticated in Orchard

0

There are 0 best solutions below