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

Web Content Display portlet is not visible with guest view permission with portal property enabled

    Details

      Description

      After the implementation of LPS-40597, we fixed this issue when the portal property was disabled with LPS-43427. We need to ensure we are setting the default permissions correctly.

      Issue: Users are unable to view Web Content after installing LPS-40597 and setting the below property:

      journal.article.view.permission.check.enabled=true

      Steps to Reproduce:

      1. Install Liferay 6.2 EE SP7
      2. Add the following property to the portal-ext.properties file: journal.article.view.permission.check.enabled=true
      3. Start Liferay
      4. Add basic web content FROM THE CONTROL PANEL.
      5. Add a Web Content Display Portlet to the front Page, and select the content.
      6. Sign out and note that the Guest User can view it
      7. Shutdown Liferay and install LPS-40597
      8. Start Liferay and view the front page as a Guest

      Expected Result: The Guest User can view the Web Content article
      Actual Result: The Guest User cannot see the Web Content article. It appears that only Administrator Users are able to view Web Content after the installation of SP9 in the above steps

      Tested in 6.2.x and Reproduced
      Could not test in Trunk since Web Content could not be created. Received attached errors during Publishing process.

      Trunk commit 794c3434a292f5bd60908acc25e7d06aa0624a19
      6.2.x commit 525725d0803f088d52187a599be5230bccd1fb15

        Attachments

        1. fixed-step6-1.PNG
          fixed-step6-1.PNG
          73 kB
        2. fixed-step6-2.PNG
          fixed-step6-2.PNG
          77 kB
        3. fixed-step7.PNG
          fixed-step7.PNG
          81 kB
        4. fixed-step7-LPS40597-1.PNG
          fixed-step7-LPS40597-1.PNG
          118 kB
        5. fixed-step7-LPS40597-2.PNG
          fixed-step7-LPS40597-2.PNG
          75 kB
        6. fixed-step7-LPS40597-3.PNG
          fixed-step7-LPS40597-3.PNG
          78 kB
        7. reproduced-step6-1.PNG
          reproduced-step6-1.PNG
          71 kB
        8. reproduced-step6-2.PNG
          reproduced-step6-2.PNG
          75 kB
        9. reproduced-step7.PNG
          reproduced-step7.PNG
          78 kB
        10. reproduced-step7-LPS40597-1.PNG
          reproduced-step7-LPS40597-1.PNG
          101 kB
        11. reproduced-step7-LPS40597-2.PNG
          reproduced-step7-LPS40597-2.PNG
          74 kB
        12. reproduced-step7-LPS40597-3.PNG
          reproduced-step7-LPS40597-3.PNG
          68 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 46 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE