jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan José Vázquez Delgado <juanjo.vazq...@gmail.com>
Subject Re: Custom privileges using jsr-283 developer preview
Date Fri, 16 Jan 2009 09:35:02 GMT
Hi Angela,


I wonder if it´s possible to create custom privileges beside the regular
>> ones (jcr:read, jcr:write, etc). Obviously, being able to set them to ACEs
>> too.
>>
>
> no that's not possible currently.
>
>
The nodetype definition for "rep:ACE" is currently:

    <nodeType name="rep:ACE" isMixin="false" hasOrderableChildNodes="false"
primaryItemName="">
        <supertypes>
            <supertype>nt:base</supertype>
        </supertypes>
        <propertyDefinition name="rep:principalName" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY" protected="true"
multiple="false" />
        <propertyDefinition name="rep:privileges" requiredType="String"
autoCreated="false" mandatory="true" onParentVersion="COPY" protected="true"
multiple="true" />
        <propertyDefinition name="rep:nodePath" requiredType="Path"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="true" multiple="false" />
        <propertyDefinition name="rep:glob" requiredType="String"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="true" multiple="false" />
        <propertyDefinition name="*" requiredType="undefined"
autoCreated="false" mandatory="false" onParentVersion="COPY"
protected="true" multiple="false" />
    </nodeType>

The property "rep:privileges" has req requiredType="String". Does not that
mean I could setting whatever privilege expressed as String?.

Thanks in advance,

BR,

Juanjo.

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