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

DLFolder's ACCESS permission is not considered when staging is turned on

    Details

      Description

      1. Turn on local staging with default settings
      2. Add a DL folder
      3. Edit the folder's permissions, revoke View and give only Access permission for Guest, leave all the permissions for Owner, and revoke all permissions from any other roles
      4. Enter this folder and add an image as a basic document
      5. Edit the image's permissions, make sure that Guest has View permission on it
      6. Add a web content article and insert an image in it's content using the editor
      7. Browse and select the image you added in the folder previously
      8. Go to the Welcome page and display the web content article in a web content display portlet
      9. Click on Publish to Live and make sure to check Permissions in the publication settings, then publish
      10. Go to the live site and verify the image is visible in the WCD portlet
      11. Log out from the portal, empty your browser's cache and refresh the page

      Result: The image in the WCD portlet will be broken. However, it should be visible for Guest because it has View permission on the image and Access permission on the image's folder

      If you turn off staging after all this, the image will be visible properly for the Guest user

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              melody.wu Melody Wu
              Reporter:
              gergely.mathe Gergely Mathe (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 35 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 DXP FP22
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master