OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | September 2006 Index

<--  Date Index  --> <--  Thread Index  -->

R: [exoplatform] How to use viewPermission


 

> -----Messaggio originale-----
> Da: Benjamin Mestrallet [mailto:benjamin.mestrallet@xxxxxxxxxxxxxxx] 
> Inviato: lunedì 25 settembre 2006 17.35
> A: Davide Ficano
> Cc: exoplatform@xxxxxxxxxxxxx
> Oggetto: Re: [exoplatform] How to use viewPermission
> 
> Viewing nodes permission makes only sense when you use communities

Well, how can I use communities.
Where is the documentation?


> 
> 
> 
> On Sep 25, 2006, at 4:53 PM, Davide Ficano wrote:
> 
> > I'm unable to correctly use viewPermission and editPermission.
> >
> > Below my scenario.
> >
> > I've a group with name 'intranet'.
> > This group is create at exo startup based on configuration into the 
> > users-configuration.xml file.
> >
> > Now inside template-pages.xml I configure a page with permission as 
> > shown below:
> >
> >   <page>
> >     <owner>@owner@</owner>
> >     <name>/home/sx/intranet/newsIntranet</name>
> >
> >     <viewPermission group="/intranet" membership="owner"/>
> >
> >     ...
> >     ...
> >     ...
> >
> > This page must be visibile on when user is associated to 
> 'intranet'  
> > group.
> >
> > Now into template-navigation.xml I apply to nodes the same 
> permission
> >
> > <viewPermission group="/intranet" membership="owner"/>
> >
> > Finally
> > 1. I create new user
> > 2. I login using user created at step 1 3. I see the page 
> belongs to 
> > 'intranet' group
> >    This must be visibile only when user is associated to 'intranet'
> >
> > Where is my error?
> > Where can I found a clear and well documented way to handle 
> > permissions?
> >
> > Sincery yours,
> > davide
> >
> >
> >
> > --
> > You receive this message as a subscriber of the 
> > exoplatform@xxxxxxxxxxxxx mailing list.
> > To unsubscribe: mailto:exoplatform-unsubscribe@xxxxxxxxxxxxx
> > For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
> > ObjectWeb mailing lists service home page: 
> http://www.objectweb.org/ 
> > wws
> 
> 




<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.