You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Alessandro Cosenza <al...@itkey.it> on 2009/01/21 10:02:08 UTC

removing a node needs to verify a WRITE or a REMOVE permission?

hi,
when i call a Node.remove() method it seems JR always try to
check
a WRITE permission (not a REMOVE one) in my
AccessManagerImpl.isGranted().
i could think it's right, but in which cases a REMOVE
permission is checked?
thanks in advance.


Re: removing a node needs to verify a WRITE or a REMOVE permission?

Posted by Angela Schreiber <an...@day.com>.
hi

what version of jackrabbit are you using?

with the initial steps for jsr 283 security features
the AccessManager permissions have been deprecated.

as far as i am aware of AccessManager.isGranted(ItemId, int)
is (with the latest version of jackrabbit) only used
for READ access and those are prone to be replaced
as well.

angela

> hi,
> when i call a Node.remove() method it seems JR always try to
> check
> a WRITE permission (not a REMOVE one) in my
> AccessManagerImpl.isGranted().
> i could think it's right, but in which cases a REMOVE
> permission is checked?
> thanks in advance.
> 
>