List Info

Thread: Newbie: Please help!!: acl permissions: check two roles




Newbie: Please help!!: acl permissions: check two roles
country flaguser name
United States
2007-03-06 10:57:25
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: h
ttp://www.nabble.com/Newbie%3A-Please-help%21%21%3A-acl-perm
issions%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-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


RE: Newbie: Please help!!: acl permissions: check two roles
country flaguser name
Italy
2007-03-06 16:16:17
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_pyahoo.es] 
> Sent: Tuesday, March 06, 2007 5:57 PM
> To: slide-userjakarta.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-unsubscribejakarta.apache.org
> For additional commands, e-mail: slide-user-helpjakarta.apache.org
> 
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )