I have now a filepath /cnc and a child node /cnc/cidax, I have also some
users 'anson,'wah', and a group called 'CNC'. Now, they have right to
access /cnc with different permission level, and I want to set the
permission such that only 'wah' has the right to access /cnc/cidax. How to
set this? I've tried the 'inheritable' in Domain.xml but I fail. What's
the problem?

        <objectnode classname="org.apache.slide.structure.SubjectNode" 
         uri="/cnc" >

          <!-- ### Give read/write/manage permission to guest ### 
               Uncomment the following line to give permission to do
               all actions on /cnc to guest (unauthenticated users) -->
          <!-- <permission action="/actions" subject="/users/guest"/> -->

          <permission
action="/actions/manage" subject="/users/wah" inheritable="false"/>
          <permission
action="/actions/read" subject="+/users/CNC" inheritable="false"/>
          <permission
action="/actions/write" subject="+/users/CNC" inheritable="false"/>
          <permission
action="/actions/read" subject="/users/anson" inheritable="false"/>
<!--          <permission action="/actions/read" subject="nobody"/>-->

        </objectnode>

        <objectnode classname="org.apache.slide.structure.SubjectNode" 
         uri="/cnc/cidax">

          <!-- ### Give read/write/manage permission to guest ### 
               Uncomment the following line to give permission to do
               all actions on /cnc/cidax to guest (unauthenticated
users) -->
          <!-- <permission action="/actions" subject="/users/guest"/> -->

          <permission
action="/actions/manage" subject="/users/wah" inheritable="false"/>
<!--          <permission action="/actions/read" subject="nobody"/>-->

        </objectnode>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to