Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Show/Hide links

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Show/Hide links


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Sachdeva, Vivek" <>, "" <>
  • Subject: RE: [grouper-users] Show/Hide links
  • Date: Mon, 28 Jul 2014 22:08:28 +0000
  • Accept-language: en-US

I think the GrouperUiFilter might be better since it is called for all the UIs.  Otherwise sounds good.

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Sachdeva, Vivek
Sent: Monday, July 28, 2014 4:36 PM
To:
Subject: [grouper-users] Show/Hide links

 

Hi,

 

I need to show/hide some links based on if the logged in user is root/wheel group member or not. PrivilegeHelper class has method isWheelOrRoot(Subject subject). 

If I change the LoginCheckFilter and add another session attribute something like:

 

Session.setAttribute("RootOrWheel", true|false)

 

And then read it on the jsp pages to decide if the links/buttons should be shown or not.

 

What do you think, is this a good idea ?? Any other ideas??

 

Thanks

 

Vivek




Archive powered by MHonArc 2.6.16.

Top of Page