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

Asset publisher portlet with enabled permissions shows or not depending on first asset permissions

    Details

      Description

      Steps to reproduce:

      1-Add some documents with Guest/VIEW permissions
      2-Add Asset publisher portlet in index page
      3-Log out. Refresh index page. You will be able to see all added documents.
      4-Log in. Check in "Enable permissions" in Asset publisher config.
      5-Add a document without Guest/View permissions.
      6-Logout. Refresh index page. Asset publisher dissapeared even when you have permissions to view some uploaded documents!
      7-Log in. Add another document (or change one document's permissions) and add Guest/VIEW permission.
      8-Log out. Refresh page. Asset publisher is viewable again!

      It seems that Asset publisher only checks permissions for the first asset, and ignores the rest. In that case shows all assets even without having permissions to do so.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2