Skip to Content.
Sympa Menu

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

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Show/Hide links

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


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??



Archive powered by MHonArc 2.6.16.

Top of Page