There may be a better way, but you could try using Session.impersonate(...) 
with the user you want to test.

I'm not sure if it is fast, though.


F!


Le 2011-06-05 à 6:46 AM, husbas a écrit :

> Being logged in a Admin, how can I check whether a user has access to a node
> or not?
> something like 
> 
> session.hasPermissions(String nodePath, String actions, String asUser);
> 
> 
> 
> --
> View this message in context: 
> http://jackrabbit.510166.n4.nabble.com/Being-an-Admin-how-to-check-user-permission-tp3574834p3574834.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to