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

Sub-organization search based on permission configuration

    Details

      Description

      Steps to reproduce:

      1. Login as admin user
      2. Create an organization "Parent."
      3. Create a sub organization "Child" that is the child of the organization created in step 2.
      4. Go to Roles section and create a custom Organization Role
      5. Give the organization role "Manage Suborganizations" permission under Users and Organizations section. For testing purposes, give full permission under Users and Organizations > Resource Permissions > Organizations.
      6. Assign the role to a user in the portal
      7. Assign the same user to the "Parent" organization created in step 2.
      8. Login as the user with the custom role created in #2 ~ #3
      9. Go to the Users & Organizations > Organizations tab
      10. Observe only organizations that the logged-in user is a member/owner of are showing
      11. Search sub-org name. Observe that sub-org is not returning in the search result
      12. Repeat the same process as a portal admin and observe the search result is coming back with proper result

      Expected Result:
      The user with the custom Organization Role would be able to view "Child Organization" in the search since they are a manager of that suborganization.

      Actual Result:
      The user is unable to view "Child Organiztion" after searching for it.

      Reproduced in Branch: 2f38edaacb65cf233ebc1f3cda59f92dfd2ec85b

      Reproduced in Master: 52b997396c42fa102a7d850d5f3521d63377423c

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              il.kim Brian I. Kim
              Participants of an Issue:
              Recent user:
              Tomáš Polešovský
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 28 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.10 DXP FP17
                  7.1.10.4 SP4
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master