History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1946
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Eric Dalquist
Reporter: Jen Bourey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

Implement support for user roles in portlets

Created: 12/Feb/08 03:14 PM   Updated: 05/Mar/08 07:51 AM
Component/s: Portlet Container
Affects Version/s: None
Fix Version/s: 3.0.0-RC2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
The isUserInRole() method doesn't appear to be supported in uPortal 3.

 All   Comments   Work Log   Change History      Sort Order:
Eric Dalquist [13/Feb/08 08:42 AM]
isUserInRole is now implemented for the portal and portlets. The request object available in the framework (including to channels) implements isUserInRole that tests to see if the person is part of the group specified by the role name. The request object available to portlets includes the above test as well as checking a role link if specified in the portlet.xml.

The role name corresponds to the uPortal group key. Such as 'local.0' for the Everyone group.