Legacy Knowledge Base
Published Jun. 30, 2025

Guest Users Are Unable to View Web Content After Upgrade

Written By

Kenny Back

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

  • After upgrading from Liferay 7.2 to 7.4 we have observed that guest users are unable to view web content. In 7.2 we had unchecked the 'article view permissions' checkbox under system setting > web content, but this option is not available in 7.4. 
  • Further, we tried all the options in the this documentation, but none of them worked.

Environment

  • DXP 7.2 > DXP 7.4

Resolution

  • Liferay is not allowing guests to view web content because you may have explicitly removed view permissions from the guest user on the web content home folder. So if you have set permissions on the home folder at some point for another role (not the guest role) Liferay detects that because permissions have been set for one role on the home folder. It then checks the permissions on the home folder for any role that tries to access it. Since you did not explicitly set the guest user to have permission to view the home folder, this effectively prevents the guest user from being able to view the home folder, and by extension, any web content article in the whole site.

STEPS: Adjust permissions for your web content home folder so that the guest user can view as such:

  1. Navigate to content & data > web content.
  2. Click the info icon near the top-right corner.
  3. Click the three-dot menu in the right-hand sidebar that appears, then click permissions.
  4. Adjust the permissions of the home folder as desired, save. 
  • Web content articles should now be viewable to guest users. 
  • After doing this, you may also need to run the script described in option 4 from the original article to automatically set guest view permissions on the web content articles themselves. 
  • However, it’s possible this is not necessary depending on how the permissions of your individual web content articles have been set already. 
  • And if you run the script and it does not yield any results this means the permissions for the web content articles were already correctly set then. The only thing that was blocking them from being seen by the guest user was that home folder permission.

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base