Verbose property list for organization shows up frequently in REST results

Steps to reproduce

Steps to reproduce:
1. Login to any OC server, e.g. https://octestallinone.virtuos.uos.de/
2. Query an endpoint that involves roles, like https://octestallinone.virtuos.uos.de/roles/roles.xml

Actual Results:

You get a long list of properties under the organization element, including a lot of player properties.

Expected Results:

Only the relevant info should be returned. Organization ID is surely sufficient here.

Workaround (if any):

Activity

Show:
Stephen Marquard
April 19, 2019, 1:11 PM

Fixed elsewhere. Roles now use an organization-id rather than full organization object:

<role>
<name>ROLE_ADMIN</name>
<organization-id>mh_default_org</organization-id>
<type>INTERNAL</type>
</role>

Karen Dolan
August 27, 2018, 1:13 PM

I can't figure out how to vote up this ticket. If I could I would

Stephen Marquard
January 16, 2017, 11:55 AM

The root of this seems to be the organization properties list in modules/matterhorn-common/src/main/java/org/opencastproject/security/api/JaxbOrganization.java

Stephen Marquard
January 16, 2017, 11:49 AM

This was the same in 1.6.x, but the effect wasn't nearly so bad because there weren't many roles.

Fixed and reviewed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround