Foundation Theme Navigation Links
Hi Everyone,
I am trying to add a navigation link to the foundation theme. I am able to do this by editing the variables.neon file. However I can't seem to use the permission: to only display it to members with the view permission for the basic page. I can't seem to get the permission working with any permission defined.
This is what I have. The nav link shows when i don't set a permission.
navItems: {
default: [
{
to: "/discussions",
children: "Discussions",
},
{
to: "/categories",
children: "Categories",
},
{
to: "/Council-contacts",
children: "Council Contacts",
permission: "BasicPages.council-contacts.View"
},
],
Any help will be greatly applicated :)
Emil