How can I find out if the current user has read access to a page's parent?
I can't do a "GetPage(currPage.ParentLink).ACL.QueryDistinctAccess(EPiServer.Security.AccessLevel.Read)" because as soon as I try "GetPage(currPage.ParentLink)" on a page which the current user don't have access to, EpiServer will throw an access denied exception.
You can fetch a page and do your own access checking by calling:
PageData page = Global.EPDataFactory.GetPage(myPageRef,EPiServer.Security.AccessControlList.NoAccess);