portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark McCullough" <bustedmag...@gmail.com>
Subject Re: Security Constraints for Fragment in PSML
Date Wed, 13 Sep 2006 13:17:51 GMT
You have to define which psml's each group gets to see by dropping those
psmls into the group folder in the pages directory. Then go to portal admin
and assign each group member the profile of 'group-fallback'.
For example, you want group A to see portlet A under page A, and you want
group B to see portlet B under page A.
-mark-

On 9/13/06, Michael Boss <baron.muenhausen@googlemail.com> wrote:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message