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

Key: UP-2118
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Andrew Wills
Reporter: Andrew Wills
Votes: 0
Watchers: 0
Operations

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

Create portlets that provide easy access to fragment administration

Created: 22/Jul/08 08:12 PM   Updated: 06/Aug/08 07:02 PM
Component/s: Administration, Distributed Layout Management (DLM)
Affects Version/s: None
Fix Version/s: 3.1.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File fragment-admin-3_1.patch (28 kb)
2. Text File fragment-admin.patch (44 kb)

Image Attachments:

1. admin-view.jpg
(95 kb)

2. fragment-view.jpg
(94 kb)


 Description  « Hide
We should enhance uPortal by providing 2 portlets that support easy access to fragment administration in DLM for authorized users.

These portlets would be (by fname):
  - fragment-admin
  - fragment-admin-exit

The first appears in the layout DOM of regular users. Users who are authorized to render it will see it in the header or sidebar of their (users who aren't won't get it due to the recent enhancement that removes unauthorized channels from header/footer). The portlet provides a drop-down list of the fragments you're authorized to edit. If you select a fragment and hit the 'GO' button, you'll be logged in as the fragment owener account.

The second portlet appears in the layout DOM of fragment owners. It provides a button that, wehn clicked, logs you back on as yourself.

I'll attach a patch and 2 screen shots.



 All   Comments   Work Log   Change History      Sort Order:
Andrew Wills [22/Jul/08 08:15 PM]
admin-view shows the fragment-admin portlet.

fragment-view shows the fragment-admin-exit portlet.

The .patch file should the delta for adding this feature set.


Andrew Wills [01/Aug/08 02:56 PM]
Here's consensus version of this enhancement for 3.1 (the 3.0 version is the original .patch file).

Eric Dalquist [02/Aug/08 11:28 AM]
The updated patch looks pretty good. A few requests though.

-Please follow the uPortal developer conventions for file spacing http://jasig.org/wiki/display/UPC/Developer+Conventions (4 space indent instead of 2)
-The 'username' attribute is not the appropriate way to get the current user's name. PortletRequest.getRemoteUser() should be use instead.
-Place the Spring configuration files for the portlets in /uportal-impl/src/main/resources/properties/contexts/portlet


Andrew Wills [06/Aug/08 07:02 PM]
Made changes requested by Eric for 3.1.x and committed to trunk/.