I did download 1.4.6 source code; I didn't see either the checkPermissions or isGranted permission deprecated. My impression that the ItemId is useful to retrieve the node and then look at the ACL provided the ACL is stored as properties in the Node. Determination can be made at that point to see if a specific action is allowed on the node. Thanks so much for a sample implementation posted on the web.
pkrishna wrote: > > I am exploring the possibility of providing node-level authorization for > READ, WRITE, REMOVE and ADD actions. Based on the many postings, I was > able to gather that I have to extend SimpleAccessManager and override > checkPermissions method that implements our domain-specific code. I > examined SimpleAccessManager and other samples I was able to get at from > the forum. I couldn't see the parameter ItemId being used anywhere. > > Do we have any examples how ItemId is used within the checkPermission > method? > -- View this message in context: http://www.nabble.com/AccessManager--checkPermissions-method-tp19880715p19901314.html Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.
