portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Boss" <baron.muenhau...@googlemail.com>
Subject Security Constraints for Fragment in PSML
Date Wed, 13 Sep 2006 12:51:36 GMT
Hi All,

I try to make so, that the certain groups of users could use only some portlet.
The PSML-file looks so:
<?xml version="1.0" encoding="UTF-8"?>
<page id="/Public/mifa.psml" hidden="false" version="1.0">
    <title>test</title>
    <short-title>test</short-title>
    <defaults layout-decorator="tigris" portlet-decorator="tigris"/>
    <fragment id="P-10d92fc2c13-10000" type="layout" name="jetspeed-
     layouts::VelocityTwoColumns">

     <fragment id="P-10d92fc2c13-10001" type="portlet"
       name="demo::IFramePortlet" decorator="gray-gradient-noborder">
         <property layout="TwoColumns" name="row" value="3" />
         <property layout="TwoColumns" name="column" value="0" />
	<security-constraint>
		<groups>marketing</groups>
		<permissions>view</permissions>
 	</security-constraint>
      </fragment>
</fragment>
</page>

But this Portlet (IFramePortlet) is visible to all users of any groups.
Whats wrong? Any ideas?

Many thanks
Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message