Re: SPI: repositoryService.isGranted()

2007-02-20 Thread Marcel Reutegger
Hi Julian, I agree, the method should be changed to take an absolute path. or was there a reason why we used ItemId there? regards marcel Julian Reschke wrote: Hi, I was recently refactoring my permission check support and came across the following issue: public boolean

SPI: repositoryService.isGranted()

2007-02-19 Thread Julian Reschke
Hi, I was recently refactoring my permission check support and came across the following issue: public boolean isGranted(SessionInfo sessionInfo, ItemId itemId, String[] actions) throws RepositoryException; The problem here is that in some cases (such as in add_node and set_property),