Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-31058

User's site role does not show up in "users & organization"

Details

    Description

      Step to reproduce:
      1. Create
      1) a site role: "siteRoleA"
      2) a new site: "siteA"
      3) a user group: "userGroupA"
      4) a user: "userA"

      2. Add "siteA" membership to "userGroupA"
      Steps: Sites >> "siteA" Manage Memberships >> User Groups >> Assign User Groups >> "userGroupA"

      3. Add "userA" to the "userGroupA"
      Steps: User Groups >> "userGroupA" Assign members >> Available >> "userA"

      4. Assign "siteRoleA" to "userA"
      Steps: Sites >> "siteA" Manage Memberships >> Add site roles to >> Users >> select "siteRoleA" >> User >> Available >> "userA"

      5. Go to users and organizations
      Display the userA's roles: you can see the following message: "This user does not belong to a site to which a site role can be assigned. "

      Wrong behaviour:
      Check the users and organizations --> "userA" --> Sites: Empty list.
      Check the users and organizations --> "userA" --> User Groups: "userGroupA" is visible.
      Check the users and organizations --> "userA" --> Roles: Empty list is visible in the Site Roles section

      Expected behaviour:
      Check the users and organizations --> "userA" --> Sites: "liferay.com" and "siteA" are visible.
      Check the users and organizations --> "userA" --> User Groups: "userGroupA" is visible.
      Check the users and organizations --> "userA" --> Roles: "siteRoleA" is visible in the Site Roles section

      Solution:

      In users and organizations --> "userA" --> Sites: Inherited site memberships are shown in a new search-container
      In users and organizations --> "userA" --> Roles: Inherited site roles are shown in a new search-container, and make showing of site roles independent of site memberships

      Attachments

        1. role.png
          role.png
          50 kB
        2. sites.png
          sites.png
          37 kB

        Issue Links

          Activity

            People

              hong.zhao Hong Zhao (Inactive)
              kalman.vincze Kalman Vincze (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 37 weeks, 3 days ago

                Packages

                  Version Package
                  6.0.X EE
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE