You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Naw Bentrad <na...@yahoo.com> on 2004/01/29 12:46:29 UTC

Group permissions

Hi

I'm trying to upgrade my Slide 1.0.16 system to the
CVS version. However I'm having difficulties to
migrate  the permissions. I tried to include the
following modifications in the default Domain.xml:

<objectnode
classname="org.apache.slide.structure.SubjectNode"
uri="/users">
  ...
  <objectnode
classname="org.apache.slide.structure.GroupNode"
uri="/users/groupA">
    <objectnode
classname="org.apache.slide.structure.LinkNode"
uri="/users/groupA/john" linkedUri="/users/john"/>
    <objectnode
classname="org.apache.slide.structure.LinkNode"
uri="/users/groupA/john2" linkedUri="/users/john2"/>
  </objectnode>
  ...
</objectnode>
  ...
<objectnode
classname="org.apache.slide.structure.SubjectNode"
uri="/files">
  <permission action="/actions/read-acl"
subject="owner" inheritable="true"/>
  <objectnode
classname="org.apache.slide.structure.SubjectNode"
uri="/files/dir1">
    <permission action="/actions/write"
subject="+/users/groupA"/>
  </objectnode>
</objectnode>

But the users john and john2 cannot write in
/files/dir1. What is happening? This configuration
works fine in the 1.0.16. 

Forgive my newbie question but I'm really lost.

Thanks for any help.

Nawb

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Group permissions

Posted by Naw Bentrad <na...@yahoo.com>.
Thank you.

So... is LinkNode deprecated?

--- Eros Viggiano <er...@sef.mg.gov.br> wrote:
> Naw,
> 
> Try the 'DAV:group-member-set'  property 
>
(http://www.mail-archive.com/slide-user%40jakarta.apache.org/msg04553.html)
> 
> <objectnode
> classname="org.apache.slide.structure.GroupNode" 
> uri="/users/groupA">
>     <revision>
>         <property
> name="group-member-set"><![CDATA[<D:href 
> xmlns:D='DAV:'>/users/john</D:href><D:href 
> xmlns:D='DAV:'>/users/john2</D:href><D:href 
> xmlns:D='DAV:'>/users/root</D:href>]]></property>
>     </revision>
> </objectnode>
> 
> Eros
> 
> Naw Bentrad wrote:
> 
> >I forgot the message error ('put' using cadaver): 
> >
> >403 Forbidden: Access denied on /files/dir1 by user
> >/users/john for action /actions/bind
> >  
> >
> >  
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> slide-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Group permissions

Posted by Eros Viggiano <er...@sef.mg.gov.br>.
Naw,

Try the 'DAV:group-member-set'  property 
(http://www.mail-archive.com/slide-user%40jakarta.apache.org/msg04553.html)

<objectnode classname="org.apache.slide.structure.GroupNode" 
uri="/users/groupA">
    <revision>
        <property name="group-member-set"><![CDATA[<D:href 
xmlns:D='DAV:'>/users/john</D:href><D:href 
xmlns:D='DAV:'>/users/john2</D:href><D:href 
xmlns:D='DAV:'>/users/root</D:href>]]></property>
    </revision>
</objectnode>

Eros

Naw Bentrad wrote:

>I forgot the message error ('put' using cadaver): 
>
>403 Forbidden: Access denied on /files/dir1 by user
>/users/john for action /actions/bind
>  
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Group permissions

Posted by Naw Bentrad <na...@yahoo.com>.
I forgot the message error ('put' using cadaver): 

403 Forbidden: Access denied on /files/dir1 by user
/users/john for action /actions/bind

Please help me
--- Naw Bentrad <na...@yahoo.com> wrote:
> Hi
> 
> I'm trying to upgrade my Slide 1.0.16 system to the
> CVS version. However I'm having difficulties to
> migrate  the permissions. I tried to include the
> following modifications in the default Domain.xml:
> 
> <objectnode
> classname="org.apache.slide.structure.SubjectNode"
> uri="/users">
>   ...
>   <objectnode
> classname="org.apache.slide.structure.GroupNode"
> uri="/users/groupA">
>     <objectnode
> classname="org.apache.slide.structure.LinkNode"
> uri="/users/groupA/john" linkedUri="/users/john"/>
>     <objectnode
> classname="org.apache.slide.structure.LinkNode"
> uri="/users/groupA/john2" linkedUri="/users/john2"/>
>   </objectnode>
>   ...
> </objectnode>
>   ...
> <objectnode
> classname="org.apache.slide.structure.SubjectNode"
> uri="/files">
>   <permission action="/actions/read-acl"
> subject="owner" inheritable="true"/>
>   <objectnode
> classname="org.apache.slide.structure.SubjectNode"
> uri="/files/dir1">
>     <permission action="/actions/write"
> subject="+/users/groupA"/>
>   </objectnode>
> </objectnode>
> 
> But the users john and john2 cannot write in
> /files/dir1. What is happening? This configuration
> works fine in the 1.0.16. 
> 
> Forgive my newbie question but I'm really lost.
> 
> Thanks for any help.
> 
> Nawb
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool.
> Try it!
> http://webhosting.yahoo.com/ps/sb/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> slide-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org