Orchard CMS Role Based Menu

Orchard CMS
  1. Add Role in admin dashboard.
  2. Add User for "Customer" role.
  3. Create separate navigation menu for "Customer" role in widget page.
  4. Create New layer rule for "Customer" role.
  5. Click Navigation-->add menu widget-->select "For Menu" option in "CustomerMenu". This is already created from navigation page.
     









Important Note

Each and every layer has a certain rule. For example, if I am logged into "Customer" login, I defined this rule as authenticated and role ('Customer') and not role ('Administrator') and not role ('Operator'). If I am logged into the "Administrator", here the rule is authenticated and role ('Administrator') and not role ('Operator') and not the role ('Customer'). If you have any queries, kindly contact me.