Hello Daniel Svensson,
Thank you for providing the information for the organization of pages in your site map.
Now I see what is the cause of the problem. You have set the partner pages not to be navigable. Since the navigation controls are dynamically bound to the site map pages set to be non navigable will not appear in any of the navigation controls. The best practice approach when you want to prevent users from seeing pages would be just to remove the view permission for their role. Then if you do not wish non authenticated users to see those pages you should use the Deny Anonymous
property in the Page Properties
Before you set page permissions, please note that pages inherit permission rules from parent pages. If you wish child pages to use different sets of permissions you should Break Inheritance
(see breakinheritance.png). So first you should set pages which you do not want to display to all users (such as partner pages) to navigable. Then if you wish anonymous users not to be able to see or navigate to those pages use Deny Anonymous
property (see denyanonymous.png).
One more note before I continue. Page groups have less properties - they do not have the deny anonymous property. So if you wish logged in users to see the Partner pages with available child pages in navigation you can set the page group to Normal Page
. It will still be able to hold child pages.
Now if you consider having roles different from RoleA, RoleB, and RoleC and users from those roles not to be able to see partner pages you can remove View
permission for those pages for the role everyone
and just grant view permissions for partners. To do this select the page and click its Permissions
tab and set them (see partnerpagespermissions.png). Then for the specific partner pages you will also have to configure appropriate permissions. I will give an example with permissions for Partner A's page - see partnerapagepermissions.png.
After applying these setting the result will be that non authenticated users will not be able to see partner pages. Users that do not belong to partner roles will also not be able to see or navigate to those pages.
the Telerik team