This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
In our process we create nodes for binary files. Meanwhile, the node path could be emailed to a CQ user to access and download the file later. I'd like to know if its possible to grand the node read permission to this CQ user programmatically.
Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Using AccessControl api you can set the permissions
http://sling.apache.org/apidocs/sling6/org/apache/sling/jcr/base/util/AccessControlUtil.html
Views
Replies
Total Likes
Thanks both for the info! I've got my problem resolved. I found out that this site is very helpful as well: http://wiki.apache.org/jackrabbit/AccessControl
Views
Replies
Total Likes
Using AccessControl api you can set the permissions
http://sling.apache.org/apidocs/sling6/org/apache/sling/jcr/base/util/AccessControlUtil.html
Views
Replies
Total Likes
Views
Replies
Total Likes
another possibility is to use
http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/javax/jcr/security/AccessControlManager.html
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies