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

Web Content selection doesn't honor scope configuration

    Description

    Web Content created by child sites can be accessed between them. The client believes that this content should not be shared between these sites.

    Steps to reproduce:

    1. Start a clean instance of Liferay 7.3 dxp-1 AND hotfix-1229-7310
    2. Create a Parent Site: Site A
    3. Create 3 Child Sites: Site B, Site C, Site D
    4. Create a Web Content in the following Sites: Site A, Site C, Site D
    5. Navigate to Site B > Create blank test page > Widgets > Web Content Display > Configuration > Setup: Select > Sites and Libraries > Site D > Site D's Web Content > Save

    Expected Behavior: Site B is cannot view and select Web Content from other Sites

    Actual Behavior: Site B can view and select Web Content from other Sites

    Additional Testing:
    Reproduced: 73x hash: d9f81c2f70c4b42cc7cb437cc9b9262e85b3847e
    Reproduced: master hash: f04ab1731b97a88ca360afa8883efc514a1f2e4e

     


    Update (Aug. 25, 2021)

    The expected behavior for the Sites and Libraries breadcrumb in Web Content Displays should be as follows:

    Portlet Scope Behavior
    Page Hide the breadcrumb
    Site Show the breadcrumb. In the breadcrumb, if the user navigates to "Sites," only the current site will be displayed. If the user navigates to "Asset Libraries," only the Asset Libraries connected to the current site will be displayed.
    Global Show the breadcrumb. In the breadcrumb, if the user navigates to "Sites,", only the global site will be displayed. If the user navigates to "Asset Libraries", only the Asset Libraries connected to the global site will be displayed.

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            jeremy.chen Jeremy Chen
            Reporter:
            roberto.diaz Roberto Díaz
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Michael Bowerman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              10 weeks, 2 days ago

                Packages

                Version Package
                7.4.13 DXP GA1
                Master