legacy-knowledge-base
公開されました Sep. 10, 2025

How can I change View permissions for all the contents of a Document Library folder?

written-by

Madeleine Clay

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

  • When I change the View permissions for a folder, the new permissions aren't reflected in the permissions window of any child folders or files within the parent folder.
  • How can I change View permissions for all the child folders and files within the parent folder at once?

Environment

  • Quarterly Releases

Resolution

  • Files and child folders inherit View permissions from their parent folder if the property permissions.view.dynamic.inheritance is set to true.
  • This property is set to true by default.
 # 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.
#
# Env: LIFERAY_PERMISSIONS_PERIOD_VIEW_PERIOD_DYNAMIC_PERIOD_INHERITANCE
#
permissions.view.dynamic.inheritance=true

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base