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

When upgraded from GA3 to 6.2.x, all attachments lost their default resource permissions

    Details

      Description

      When upgraded from GA3 to 6.2.x, all attachments lost their default resource permissions, so that attachments only can be viewed by owner or admin

      Reproduce steps:

      1. In GA3, Deploy a MB portlet on page "welcome" of guest site of Liferay.
      2. Create a thread in MB portlet with attachments (named 'test.xml') with default permission (Guest can view).
      3. Upgrade to 6.2.X
      4. Deploy "Documents and Media" portlet on "welcome" page (need to deploy this portlet in order to access the attachments, refer to LPS-43640)
      5. Access the attachments (test.xml) with an Guest.

      Actual behavior:
      Guest can't view, redirect to login page
      Expect behavior:
      Guest should be able to download the attachments.

      The additional bug described by LPS-43640, please use the workaround of it to test this case.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yunlin.sun Yunlin "Steven" Sun
              Reporter:
              sherry.yang Sherry Yang (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 33 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.1 CE GA2
                  6.2.X EE
                  7.0.0 M1