Hi Irene,
You can use the inheritable property to propagate permission
of parent
folder to his children.
In your Domain.xml, in the data section, you can write
something like this:
<objectnode
classname="org.apache.slide.structure.SubjectNode"
uri="/files/folderB">
<permission action="all"
subject="/roles/roleB"
inheritable="true"
negative="false"/>
</objectnode>
HTH
Bye.
_____________________
Andrea Colleoni
> -----Original Message-----
> From: irene [mailto:irenita_p yahoo.es]
> Sent: Tuesday, March 06, 2007 5:57 PM
> To: slide-user jakarta.apache.org
> Subject: Newbie: Please help!!: acl permissions: check
two roles
>
>
> Hello, I have the next folders:
>
> /folderA/ granted permission to role_A
> /subfolder1/ granted permission to role_1
> /subfolder2/ granted permission to role_2 /folderB/
> granted permission to role_B
> /subfolder1/ granted permission to role_1
> /subfolder2/ granted permission to role_2
>
> And a user A with the roles role_A and role_1
>
> Slide doesn't allow A to access /folderB, but allows
> /folderB/subfolder1.
>
> I want that only users who have role_B AND role_1 can
access to
> /folderB/subfolder1
>
> How can I do this???
>
>
> --
> View this message in context:
> http://www.nabble.com/Newbie%3A-Please-help%21%21%
3A-acl-permi
> ssions%3A-check-two-roles-tf3356641.html#a9335664
> Sent from the Jakarta Slide - User mailing list archive
at Nabble.com.
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
> For additional commands, e-mail: slide-user-help jakarta.apache.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|