On Dec 18, 2007 12:53 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
This is the right method, check if you really
can't view that page.
I did check this. When trying to view the page, I got the "You are not
allowed to view.." box, but the method returned true. As mentioned in
my previous post, when using $xwiki.hasAccessLevel method I got the
desired behaviour.