Legacy Knowledge Base
Published Jun. 30, 2025

The file is uploaded with a Guest View permission

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

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

Issue

  • When users upload a file to a restricted DDL, the file does not inherit its permission, so guest users can view the file via a link even though the DDL is not visible to them.

  • Steps to reproduce:
    1. Start a clean instance
    2. Navigate to Contents and Data > Dynamic Data Lists.
    3. Add a new data definition with a text and a Documents and Media field.
    4. Create a new dynamic data list based on this definition.
    5. Open the permissions of the list, and make sure Guest View permission is not ticked (it shouldn't be, but just to make sure).
    6. Add a record to the list, and the DM field uploads a file from your system.
    Observed Behavior: The file is uploaded to Documents & media with a Guest View permission without the user's knowledge
    Expected Behavior: A warning message shows, alerting the user to the possible permission issue

Environment

  • Liferay DXP 7.2 
  • Liferay DXP 7.3
  • Liferay DXP 7.4

Resolution

  • The observed behavior is a known concern of DXP that LPS-156368 will address.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base