Knowledge Base
Published Jul. 2, 2025

Published web contents are not visible to users - DXP 7.1 - 7.4

Written By

Ahmed Abdin

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.

Issue

  • I cannot see web contents as a guest user, they are not visible in the Web Content Display or Asset Publisher

Environment

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

Resolution

  • The web contents and the web content folder they are in must have the "VIEW" permission for Guest role
  • Using the below property will not allow the web content to be displayed if the containing folder does not have "VIEW" permission for Guest role. In this case, there can be two solutions:

    a) Add "VIEW" permission for the Guest role on the appropriate web content folder

    b) Set the mentioned property's value to false and restart the server:
    Set the following to true to automatically check the view permission on 
    parent categories or folders when checking the permission on a specific item.
    
    For example, if set to true, to be able to have access to a document, 
    a user must have the view permission on the document's folder and all its parent folders.
    Or, to have access to a comment, a user must have the view permission on the comments's category and all its parent categories.
    
    Defaults:
    
    permissions.view.dynamic.inheritance=true
Did this article resolve your issue ?

Knowledge Base