portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Scott" <Swea...@rippe.com>
Subject RE: Removing action buttons
Date Mon, 24 Mar 2003 13:57:37 GMT

Assigning security to a portlet in the registry where the security entry looks something like

<security-entry name="limited-access">
  <title>Limited User Access</title>
  <description>Limits users to minimize, maximize and view.</description>
 <access action="*">
  <allow-if role="admin />
 <access action="view">
  <allow-if role="user" />
 <access action="minimize">
  <allow-if role="user" />
 <access action="maxmize">
  <allow-if role="user" />

Example of a portlet using the previously defined security:

<portlet-entry name="MySecurePorlet" hidden="false" type="instance" application="false">
 <security-ref parent="limited-access "/>
  <url cachedOnURL="true"/>

Anyone with the admin role can perform all actions on a portlet using this security entry,
however, anyone with the user role can only minimize, maximize and view the portlet.

You will have to assign this entry to each one of the portlets you want to secure in this
fashion or you can assign it to the parent(s) of those portlets and inherit the security.


> -----Original Message-----
> From: Brad Davis [mailto:brad@bayareanetworks.com]
> Sent: Sunday, March 23, 2003 4:00 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: Removing action buttons
> Ok, so I have tried everything ever mentioned in order to remove an action
> button... someone said rss.xsl, another said add a security constraint, I
> must be doing something wrong cause nothing works.
> Can someone tell me the steps, from a default installation of Jetspeed
> (latest version), how to remove the close button from a portlet (like the
> HelloWorld portlet)? We don't want users to have the abilitity to close a
> portlet, but we would like them to be able to maximize, minimize, etc.
> I would be extremely appreciative if someone can shed some light on how to
> do this. Thanks!!! -Brad

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message