jQuery in Action, 2nd edition
The moose likes Portals and Portlets and the fly likes How to enable options based on role via portlet.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "How to enable options based on role via portlet.xml" Watch "How to enable options based on role via portlet.xml" New topic
Author

How to enable options based on role via portlet.xml

David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
Trying to figure out if it's possible to have roles to determine if the maximize, minimize, edit, view, config, etc. states are able to be setup for only certain roles.

EXAMPLE:

Config (user.isinrolle = Admin)
Edit (user.isinrolle = Manager)
Stefan Zoerner
Author
Ranch Hand

Joined: Nov 29, 2001
Posts: 121
This functionality is normally provided by the portal. The administrator can configure, which user group is allowed to change to edit/config etc. mode. Which portal server do you plan to use?


Stefan Zoerner
Author of German LDAP-Book
Committer at Apache Directory Project
David Yutzy
tumbleweed and gunslinger
Ranch Hand

Joined: Jun 29, 2001
Posts: 192
We're using Sun Portal v7, but I didn't see that in the configuration. We can setup based on Org who gets what tabs, content, portlets, etc. but I didn't see anything in there about managing the various options...
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to enable options based on role via portlet.xml
 
Similar Threads
Please reply fast
Showing or hiding portlet or pages based on the user attributes
design query
how to get init-param in jsp
Error message when running "Professional SCWCD" example