Hello,

I am trying to upgrade from jahia version 4.0.7_01 to 4.1.1_01 using the
official patch.
After the upgrade, I try to configure the jakarta Slide 2 with our custom
configuration; in fact we would like to have only the members of a group
(toto) who have only the write permission to the "shared" store.
So, if I have correctly understood the syntax of the "data.xml" file for the
slide 2.2, it must be something like the following:

<data>
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/">
    <permission action="/actions/read" subject="all"/>
    <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/shared">
        <permission action="/actions/read" subject="all"/>
        <permission action="/actions/write" subject="all" negative="true"/>
        <permission action="/actions/manage" subject="all" negative="true"/>
        <permission action="/actions/read" subject="+/groups/toto/members"/>
        <permission action="/actions/write"
subject="+/groups/toto/members"/>
        <permission action="/actions/manage" subject="+/groups/toto/members"
negative="true"/>
    </objectnode>
</objectnode>
</data>

that corresponds to my previous configuration for Jahia 4.0.7 and Slide 1.1
(I hope):

<data>
<objectnode classname="org.apache.slide.structure.SubjectNode" uri="/">
    <permission action="/actions/read" subject="nobody" />
    <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/shared">
        <permission action="/actions/read" subject="nobody" />
        <permission action="/actions/read" subject="user" />
        <permission action="/actions/read" subject="+/groups/toto/members"
/>
        <permission action="/actions/write" subject="+/groups/toto/members"
/>
    </objectnode>
</objectnode>
</data>

Do you think it is the same ?

Fabrice Marchon


Reply via email to