jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivars Veksins <iva...@gmail.com>
Subject AccessManager isGranted query
Date Fri, 06 Nov 2009 13:44:08 GMT
Hi guys,

I have implemented a customer access manager class that extends the abstract
implementation as provided in the simple example. I have added some code to
isGranted(ItemId, int) method that validates the path against my permission
system. When I query for multiple items the permission system works fine as
the path given for each item is correctly provided, however if a single node
is accessed directly by its absolute path the path given to access manager
is partial and therefore the validation fails. For example if node is
accessed by absolute path: /customer/documents/how_to_use_the_printer the
path provided to access managed is: /customer/documents.

Is there are reason for this? and basically how to make it work properly?

Thanks for your help,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message