Hello,

I am in deep trouble with the use of the security tag.
I found a post explaining how to use it in the mailing list archive, but
am still not able to grasp how this work (Version 1.3a2)

Could someone help me with a concrete example.
What I am trying to do is to remove the control on the portlet title
bar.
Here is my change in the portlets.xreg file:

-=-=-
...
    <portlet-entry name="LinkPortlet" hidden="false" type="abstract" 
application="false">
        <security role="admin"/>
        <classname>org.apache.jetspeed.portal.portlets.LinkPortlet</classname>
        <media-type ref="html"/>
    </portlet-entry>
...
    <portlet-entry name="JetspeedContent" hidden="false" type="instance" 
application="false">
        <security role="admin"/>
        <classname>org.apache.jetspeed.portal.portlets.JetspeedContent</classname>
        <parameter name="provider-name" value="jetspeed" hidden="false"/>
        <media-type ref="html"/>
    </portlet-entry>
...
-=-=-

In fact I just added a security tag.

My test user is in the user group, that only has the right to view
information.
The behaviour seems different between the two type of portlet.
For the LinkPortlet, nothing particular happens. The portlet renders as
before.
For the JetSpeedContent Portlet, the title bar renders properly, but the
user is not able to see the content ("Sorry, you have no permission to
see this portlet").

I am probably doing something wrong but have no clue about what is
really happening.

Thank you for your help.

-- 
Micka�l R�mond

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to