Skip to Content.
Sympa Menu

grouper-dev - potential interim work-around for browsing Duke's registry

Subject: Grouper Developers Forum

List archive

potential interim work-around for browsing Duke's registry

Chronological Thread 
  • From: Tom Barton <>
  • To: Grouper Dev <>
  • Subject: potential interim work-around for browsing Duke's registry
  • Date: Wed, 17 Oct 2007 14:48:38 -0500

On the call today I took an AI to dig out Gary's suggested approach for a work around to deploy at Duke to prevent the UI from letting TAadmins choose a path through the UI that is frustratingly slow, ie, to selectively disable the Manage Groups task. Hre's the gist of what Gary wrote.

This idea will need to be elaborated into an actual code change so that it can be evaluated for suitability. Shilen, is that up your alley, or is that more yours, Gary?


on 7/14/2007 Gary wrote:
> [AI] {Gary} will share an email with the list giving an idea of how to
> modify menu items based on who you are and which groups you belong to.

The UI customisation guide on the Wiki gives an overview: <> however, the url will change with the official release of Version 1.2.

Basically, subclass PrepareMenuAction and override the method:

protected boolean isValidMenuItem(Map item,GrouperSession grouperSession,HttpServletRequest request)

- put your logic first but if not returning false, delegate to the super class.

In order to have the UI use the PrepareMenuAction subclass you must override / replace the action config in struts-config.xml.

Archive powered by MHonArc 2.6.16.

Top of Page