RE: Newbie: Please help!!: acl permissions: check two roles
"Andrea Colleoni" <[email protected]> Tue, 6 Mar 2007 23:16:17 +0100
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Organization | PlaneCom s.r.l. |
| Message-ID | <[email protected]> |
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:[email protected]] > Sent: Tuesday, March 06, 2007 5:57 PM > To: [email protected] > 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: [email protected] > For additional commands, e-mail: [email protected] > >