Permissions Issue

Mar 15, 2011 at 6:17 PM
Edited Mar 15, 2011 at 7:57 PM

Hi,

Hopefully you can help.

I have had a permission issue on a live site and think I can recreate the issue very easily.

 

If I download the build 41747 from codeplex  and create a site. Add a new user(User1), and add to to other role than users.

Then I add a new page "Page 1", with the roles set to "users", do not allow anonymous, and is visible.

Then I add a section, in this case html, and add "hello world", set the is online checkbox to true and the role "Users" to "View".

When I hit the default page I do not see a menu entry for "Page 1", I then log in as User1 and can now see the menu entry for "Page 1". However when I click it I see no content. If I set the page to allow anon it does show the content.

The web.sitemap seems to be getting updated with the roles correctly.

Any thoughts or ideas?

 

Thanks

Garry

 

 

Mar 15, 2011 at 7:08 PM

One further bit of information. When the call to GetAccess is made the then page does not seem to have any page roles. Then I looked in App_data/pages at the page in question and the page roles tag is shown below. I can't quite work out what format the tag should be in order to see if that is indeed the root cause.

 

I c

<PageRoles />