legacy-knowledge-base
公開されました Jun. 30, 2025

Documents and Media ポートレットで権限の継承を最適化する

written-by

Viktória Gyömbér

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

問題

  • 親フォルダーのアクセス許可を継承するサブフォルダーを作成したいと考えています。

Environment

  • Liferay DXP 7.3

解決策

  • 親フォルダーと子フォルダー間の権限の継承を有効にするように Liferay を構成しますが、現在の実装の技術的な制限により、これはオプションではないことが判明しました。 現在のパーミッション システムでは、デフォルトで有効になっている VIEW パーミッションの継承のみが許可されていますが、これは、達成したいものとは多少異なる動作をしています:
    #
    # 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

追加情報

  • この機能は、問題追跡システムですでにリクエストされています: LPS-46357

did-this-article-resolve-your-issue

legacy-knowledge-base