Trouble with sitemap and roles in ASP2

C

chris.rust

Has anyone else had any trouble setting up a sitemap view to be
filtered by roles?

We've put a cust role provider in place, and we can verify that it's
only being called once for each connection, and is returning the
correct roles, but...

When we specify a role on the top sitemapnode that role seems to add to
the roles on lower level nodes, so we end up needing to put roles="*"
on the top node, but then regardless of which role we put against the
subnodes they're all visible - seemingly inheriting this from the top
one.

Examples

<sitemapnode>
....contents
</sitemapnode>

Causes nothing to be displayed (since we have trimming on, and there is
no role listed)


<sitemapnode roles="*">
<sitemapnode roles="Users"/>
</sitemapnode>

Causes the inner node to be seen regardless of whether the user
connecting has a Users role or not

Any help/suggestions would be welcome
 
B

Bob Barrows [MVP]

Has anyone else had any trouble setting up a sitemap view to be
filtered by roles?

Sounds like you need to be asking this question over at
microsoft.public.dotnet.framework.aspnet.
 

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
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top