> -----Original Message-----
> From: Joe Barefoot [mailto:Joe.Barefoot@;motiva.com]
> Sent: Wednesday, October 23, 2002 3:05 PM
> To: Jetspeed Users List (E-mail)
> Subject: how to disable customize button in tab pane links
>
>
> Hi,
>
> I was wondering if anyone knew how to get rid of the little
> customize icon that appears beside the tab name when using Tab
> Panes....I've hunted around a bit in the templates and config
> files, but haven't stumbled across it.
>

Well I was going to recommend disabling all action buttons in
JetspeedSecurity.properties as a cheap solution.
But it didn't work.
Cannot anyone else confirm that this is a bug....

#########################################
# Action buttons                        #
#########################################
services.JetspeedSecurity.actions.anon.disable=true
services.JetspeedSecurity.action.allusers.disable=true


Another approach, use the Registry Security Service, and put a constraint on
the tab:

Looking at the user 'turbine', psml/usr/turbine/html/default.psml:

<?xml version="1.0" encoding="UTF-8"?>
<portlets id="01">
    <metainfo>
        <title>Default Jetspeed page</title>
    </metainfo>
    <skin name="orange-red"/>
    <layout position="-1" size="-1"/>
    <control name="TabControl"/>
    <controller name="TabController"/>
    <security-ref parent="user-view_admin-all"/>     <----- Removes the
customize icon in the corner
    <portlets id="02">
        <security-ref parent="user-view_admin-all"/> <----- Gets rid of the
customize icon next to 'Home'



--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>

Reply via email to