Legacy Knowledge Base
Published Jul. 2, 2025

Role inherited from a segment based on a user group is not displayed in the user's role view

Written By

Rita Schaff

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • There is a segment that includes members that are part of one or more groups. This segment is assigned to a role.
  • When I choose a user from the user group and view the roles, the role is not listed.

Environment

  • DXP 7.2

Resolution

  • This is the expected behavior. The user has the role and all the related accesses to the role are expected to work as well, but the role will not be displayed because only the manually assigned roles are expected to be displayed in the User > Roles view.
  • If you click on the ❎ button to delete the role, it will appear again, this is also expected - because the role comes from the segment.
    7.2_User_RolesView.gif
  • On our latest development version, when the user is part of a Site, Organization, or User Group, their associated roles will be displayed for the user under the INHERITED REGULAR ROLES or the INHERITED SITE ROLES section.
    master_User_RoleView_ManualandInheritedRoles.png

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base