Issue
-
We found a bug with how organization membership is displayed on the user account page: when a suborganization is assigned to a user, the parent organization of the assigned suborganization is also displayed.
-
We only wish to see the suborganization and not the parent organization.
Environment
- Liferay 2024.Q2
Resolution
-
This behavior is controlled by a property.
-
If the property
organizations.membership.strict
is set tofalse
(which is the default), then the code displays the parent organizations as well. -
If
organizations.membership.strict=true
is set in the portal-ext.properties, then the parent organization of the suborganization is no longer displayed.