SiteMap and security trimming problems

B

bogdan

Hi,

I have security trimming enabled in web.config and the following site map
attached to a menu:

<siteMapNode roles="*" url="~/Default.aspx" title="Home" description="">
[...]
<siteMapNode roles="Administrators,Managers" title="Admin">
<siteMapNode roles="Administrators" url="~/Admin/AdminOnly.aspx"
title="Admin Only"/>
<siteMapNode roles="Administrators,Managers"
url="~/Admin/AdminAndManager.aspx" title="Admin and Manager" />
</siteMapNode>
[...]
</siteMapNode>

If I login as a user without Administrators and Managers roles then I cannot
seem "Admin", which is expected. When I login as a user with Adminstrators
role then I can see all items in the menu, which is also expected. But,
when I login as a user with Managers role only then I can still see all menu
items. I thought that "AdminOnly.aspx" node would not be available to
Managers but this is not the case.

Am I missing something obvious here?

I'd appreciate any suggestions.

Thanks,
Bogdan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,056
Messages
2,570,441
Members
47,119
Latest member
NoeliaIrby

Latest Threads

Top