legacy-knowledge-base
Publicado Jun. 25, 2030

How to check item display permissions

written-by

Alvaro Cabello Díaz

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

learn-legacy-article-disclaimer-text

Issue

  • If the container folder (JournalFolder) of a web content does not have VIEW permissions for Guest, the contents are not seen if we are not logged in. This was different in 7.2. What has changed?

Environment

  • DXP 7.4
  • DXP 7.2 (Migrated to 7.4)

Resolution

  • In DXP 7.2 there is a setting in the Control Panel > System Settings > Web Content > Web Content > Article View Permissions Check enabled (default is true).
  • Starting in DXP 7.4 U-22 LPS-151634 was developed which practically replaces this setting with the property:
    permissions.view.dynamic.inheritance=true 
    Which is also implemented at the JournalArticle level. That means that in 7.4 if this property is not set to false, it verifies that all parent folders have the view permission for the Guest user to be displayed.
  • Note that modifying this property to false may result in behavior similar to 7.2, but affects other resources such as documents, bookmarks, categories and possibly other assets.
  • Important: once the property has been added to portal-ext.properties, a server restart is required for it to take effect.
  • There is another way to get the same behavior at the folder level by giving access permission to the Guest user, but admittedly that would mean changing it for each folder separately.

 

 

 

did-this-article-resolve-your-issue

legacy-knowledge-base