Legacy Knowledge Base
Published Jul. 2, 2025

When searching, "sites that do not belong to the site" will also be displayed in the search results.

Written By

Bae Helene

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When searching, content from "sites to which the user searching does not belong" will also be displayed..
  • You can also download documents & media files from sites you don't belong to.
  • Is it possible to set "Only sites that belong to" search results to be displayed?.

Environment

  • DXP 7.0, DXP 7.1, DXP 7.2

Resolution

  • All content for which you have View permission will be searched, even if you are not a member of the site.
  • The following methods are possible.
    • Method 1. When you upload a new document, set the viewable setting to "Site Members".
    • Method 2. Options for the documentGo to Menu > Permissions and remove the "View" permission from the Guest/User/Power User roles..
  • The "View" permission setting can be adjusted for the root folder (all content under it) or for each content.
  • A feature request LPS-40798 has been created so that only the content of the site you belong to can be targeted.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base