jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Cosenza" <alessandro.cose...@itkey.it>
Subject removing a node needs to verify a WRITE or a REMOVE permission?
Date Wed, 21 Jan 2009 16:14:46 GMT
so please does anyone can tell me in which cases REMOVE
permissions are checked in JR 1.4.
When i remove a node a WRITE permission is checked on parent
node instead of a REMOVE one.
why?

----- Original Message -----
Da : "Alessandro Cosenza" <alessandro.cosenza@itkey.it>
A : users@jackrabbit.apache.org
Oggetto : Re: removing a node needs to verify a WRITE or a
REMOVE permission?
Data : Wed, 21 Jan 2009 16:13:01 +0100

> i'm using 1.4
> 
> ----- Original Message -----
> Da : Angela Schreiber <anchela@day.com>
> A : users@jackrabbit.apache.org
> Oggetto : Re: removing a node needs to verify a WRITE or a
> REMOVE permission?
> Data : Wed, 21 Jan 2009 16:11:02 +0100
> 
> > 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.
> > > 
> > > 
> > 

Mime
View raw message