Due to the format of our page titles, our page URLs always resolve to ../pages/viewpage.action?pageId=########
And people are constantly receiving a URL to a page that results in the error: You don't have permission to view this page.
This results in numerous tickets to our instance admin to determine the space/admins of the page.
It looks like I could possibly write a user macro to get ancestors (which also might not be viewable by the user) so what I really need is to identify the space or the page admins based on the pageId.