I need to display some nodes on the Website header menu, but before that, I have to check if that node is restricted from public access or not.
Is it possible to check that from partial view?
The scenario is like this, based on member group permission, I have set Restrict Public Access for certain nodes.
When someone goes to the site, they should not be able to see the protected page but if that user is already logged in then he should be able to see those items in the menu.
Thanks for your time :) IsVisible is used for the umbracoNaviHide field right?
My concern is different, based on member group permission, I have set Restrict Public Access for certain nodes.
When someone goes to the site, they should not be able to see the protected page but if that user is already logged in then he should be able to see those items in the menu.
Check a node is Public Access Restricted or not
Hi Team,
I need to display some nodes on the Website header menu,
but before that, I have to check if that node is restricted from public access or not.
Is it possible to check that from partial view?
The scenario is like this, based on member group permission, I have set Restrict Public Access for certain nodes.
When someone goes to the site, they should not be able to see the protected page but if that user is already logged in then he should be able to see those items in the menu.
Regards
you should be able to use
If the restriction is more granular (some members can see it) you can use
Hi Huw,
Thanks for your time :)
IsVisible
is used for theumbracoNaviHide
field right?My concern is different, based on member group permission, I have set Restrict Public Access for certain nodes.
When someone goes to the site, they should not be able to see the protected page but if that user is already logged in then he should be able to see those items in the menu.
Thank you
You will need to use IMemberManager and do something like
is working on a reply...