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

Permissions for Documents and Media home directory are not checked during search

Details

    Description

      Steps to Reproduce:
      1. Add the Documents and Media and the Search portlets to a page.
      2. Edit the permissions on the Home directory of the document library. Uncheck all of the boxes under "View" so that no one has the permission to view. (Admin will still be able to view)
      3. Add a basic document to the Home directory.
      4. Add a subfolder to the Home directory. (view permissions on the subfolder should be granted to test if the permissions from the Home directory are being inherited)
      5. Add a document to the subfolder.
      6. Sign out so that you are viewing the site as a guest.
      7. Search for the names of the documents you created.

      Expected Result:
      That there would be no results in the search when permissions.view.dynamic.inheritance=true (which is the default)

      Actual Result:
      The search returns the documents you created. This allows you to select and download the document as well.

      Attachments

        Issue Links

          Activity

            People

              linda.sui Linda Sui
              bryan.engler Bryan Engler
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8 years, 6 weeks, 5 days ago

                Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1