API method permissionAssignments returns wrong string for group names

Description

As Admin go to Manage Permissions and select the Portlet Publishing permission CONFIGURE (PORTLET_MODE_CONFIG).

Note that the permission of Portal System GRANT PORTLET_MODE_CONFIG to group 'All Categories' displays with a target name of "Fragment Administration" instead of "All Categories". This is because the target (local.1) is being treated as portlet with id=1 when fetching the display name.

See attached screenshot and example JSON response to the call /uPortal/api/permissionAssignments?owner=UP_PORTLET_PUBLISH&activity=PORTLET_MODE_CONFIG&_=1454717091360

Environment

None

Assignee

Unassigned

Reporter

James Wennmacher

Labels

None

Estimated End Date

None

Fix versions

Priority

Major
Configure