Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
I want to get if the logged-in user has read permission to a specified path. Please suggest to achieve it via code.
Solved! Go to Solution.
try this:
session.checkPermission("/content/someNodePath", "read");
Ref: http://www.day.com/maven/jsr170/javadocs/jcr-2.0/javax/jcr/Session.html#checkPermission(java.lang.St..., java.lang.String)
View solution in original post
Views
Likes
Replies
Like