On 3/15/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 15, 2006 at 03:02:42PM +0100, Tobias Bocanegra wrote:
> > > I need completely different set of constants:
> > > read properties,write properties, browse children,add child,delete child
> > most of them can be mapped:
> >
> > read properties -> PropertyId, READ
> > write properties -> PropertyId, WRITE
> > browse children -> NodeId, READ
> > add child -> NodeId, WRITE
> > delete child -> NodeId, REMOVE
>
> Okay, that could be good. But what if we will need to extend this list of
> privileges? Is there some workaround, if we will need, for example
>
> read property
> write property
> browse properties
> add property
> delete property
> browse children
> add child
> delete child
>
> and so on?

the AccessManager interface and therein defined constants cover all
'actions' as defined by the JSR-170 specification (see 6.9.2), namely:

add node
set property
remove (item)
read (item)


cheers
stefan

>
> --
> Eugene N Dzhurinsky
>

Reply via email to