Hi,
Sorry to revive that old subject, but it looks like it's exactly the
problem I am encountering. Basically here's what I'm trying to achieve :
<page ...>
<security-constraints>
<security-constraint>
<groups>groupOne,groupTwo</groups>
<permissions>view</permissions>
</security-constraint>
</security-constraints>
<fragment ... type="layout">
<fragment ... type="portlet">
<security-constraints>
<security-constraint>
<groups>groupOne</groups>
</security-constraint>
<security-constraint>
<groups>groupTwo</groups>
<permissions>groupTwo</permissions>
</security-constraint>
</security-constraints>
However, "groupOne" still has the rights to view the portlet...
According to the replies, it *should* be possible, even if I am reading
"Note that only the view permission is checked against these constraints"
here:
http://portals.apache.org/jetspeed-2/guides/guide-security-declarative-psml.html
Just like Randy suggested, I have upgraded to 2.0.1, but still no results.
Does anyone see something else I could try ?
Thanks,
Ludovic
> If you use eclipse, I suggest using the subclipse plugin...
>
> On 7/6/06, Enrique Perez <[EMAIL PROTECTED]> wrote:
>> Hi Randy,
>>
>> Ok, so I must install svn, get the source with that command you pointed
>> me out and follow the instructions described here
>> (http://portals.apache.org/jetspeed-2/getting-started-source.html,
>> sections 5&6), mustn't I?
>> Is it the same for 2.1-dev??
>>
>> Thanks a lot,
>> Enrique
>>
>>
>> > -----Mensaje original-----
>> > De: Randy Watler [mailto:[EMAIL PROTECTED]
>> > Enviado el: miƩrcoles, 05 de julio de 2006 16:46
>> > Para: Jetspeed Users List
>> > Asunto: RE: Security constraints for fragments
>> >
>> > Enrique,
>> >
>> > One must build that version from source. The 2.0.1 has not been pushed
>> > to the maven repository. Use the svn command below to pull the source
>> > and follow the instructions on building from source on the web site.
>> >
>> > HTH,
>> >
>> > Randy
>> >
>> > On Wed, 2006-07-05 at 13:29 +0200, Enrique Perez wrote:
>> > > Sorry Randy,
>> > >
>> > > But still don't know how to install that specific version... =S
>> > > I've tried to download "jetspeed plugin" (-Dversion=2.0.1) but maven
>> is
>> > > unable to find it in any repository...
>> > >
>> > > Is there any getting-started-guide for this release? Any
>> step-by-step
>> > > document??
>> > >
>> > > Thanks,
>> > > Enrique
>> > >
>> > > > -----Mensaje original-----
>> > > > De: Randy Watler [mailto:[EMAIL PROTECTED]
>> > > > Enviado el: martes, 04 de julio de 2006 17:10
>> > > > Para: Jetspeed Users List
>> > > > Asunto: RE: Security constraints for fragments
>> > > >
>> > > > Enrique,
>> > > >
>> > > > svn co https://svn.apache.org/repos/asf/portals/jetspeed-
>> > > > 2/branches/JETSPEED-BRANCH-2.0.1 jetspeed-2
>> > > >
>> > > > Yes, I believe that the sizes property was broken in 2.0 as well.
>> I
>> > > > think 2.0.1 fixes that as well. Nested layouts were initially
>> fixed in
>> > > > 2.0.1, but Ate put in a ton of work to make them much better in
>> > > 2.1-dev.
>> > > >
>> > > > Randy
>> > > >
>> > > > On Tue, 2006-07-04 at 09:48 +0200, Enrique Perez wrote:
>> > > > > Hi Randy,
>> > > > >
>> > > > > Where can I find the version 2.0.1?? Or how can I build that
>> version
>> > > > > with Maven 1.0.2?? Maybe modifying build.properties and setting
>> > > > > "jetspeed.version" to the value "2.0.1"??
>> > > > >
>> > > > > And do you know if there is also a bug with the fragment's
>> property
>> > > for
>> > > > > setting the size of the columns in my version?? I mean, I'm
>> trying
>> > > to
>> > > > > set 20% for left column and 80% for right one with this tag:
>> > > > > <fragment id="x" type="layout"
>> > > > > name="jetspeed-layouts::VelocityTwoColumns">
>> > > > > <property layout="TwoColumns" name="sizes"
>> > > > > value="20%,80%"/>
>> > > > >
>> > > > > but it seems to have no effect.
>> > > > >
>> > > > > Thanks again,
>> > > > > Enrique
>> > > > >
>> > >
>> > >
>> > >
>> > >
>> ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > > For additional commands, e-mail:
>> [EMAIL PROTECTED]
>> > >
>> > >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]