I've had some success by creating a new security reference in security.xreg and 
assigning the user to the appropriate role and enabling the security reference over 
the portlet or pane.

    <security-entry name="ViewMinMaxUser">
        <meta-info>
            <title>View Minimize and Maximize</title>
            <description>Access type allows view, minimize, and maximize.</description>
        </meta-info>
        <access action="maximize">
            <allow-if role="user"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
        </access>
        <access action="minimize">
            <allow-if role="user"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
        </access>
        <access action="view">
            <allow-if role="user"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="java:org.apache.jetspeed.om.registry.base.BaseSecurityAllow"/>
        </access>
    </security-entry>

Regards,

Brad

Moabi Nyokong <[EMAIL PROTECTED]> wrote:

>Hi All,
>I've searched through the mailing list for clues on how to do this, but
>every strategy (Permisssions, <security>, <security-ref> etc.) doesn't seem
>to work on JS 1.4-b3. The only thing I am able to do completely remove any
>buttons by modifying :
>
>services.JetspeedSecurity.action.allusers.disable=false
>
>To "true" in JetspeedSecurity.prop
>
>
>Has anybody been able to do this?
>
>--
>To unsubscribe, e-mail: � <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

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

Reply via email to