18 Dec
2007
18 Dec
'07
11:53 a.m.
Bjørnar Libæk wrote:
Sergiu Dumitriu wrote:
#if($whome.hasAccessLevel("view",$context.getUser()))
Ok, I tried this, but now the method returns true every time... Even when explicitly adding an access rule denying view access for a specific user, the method returns true.
This is the right method, check if you really can't view that page. Sergiu