legacy-knowledge-base
公開されました Jul. 2, 2025

ステージング パブリケーション プロセスの実行中に発生した「ユーザー 'x' には 'y' 権限が必要です」というエラーを解決する方法

written-by

Isaac Wilson

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

問題

  • 私たちのチームは、ステージング マネージャーが管理者にならないことを望んでいるため、一部の権限のみを提供しています。 ただし、公開しようとすると、次のようなエラーが発生します。
    ERROR [liferay/background_task-1][EventRemotePropagatorExportImportLifecycleListener:222] Unable to propagate staging lifecycle event to the remote live site
    com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: User 35389 must have EXPORT_IMPORT_LAYOUTS permission for com.liferay.portal.kernel.model.Group 34689
  • このユーザーの役割に追加する必要がある特定の権限を知ることは可能ですか?

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2
  • DXP 7.3

解決策

追加情報

  • 場合によっては、対応する .xml ファイル内の名前が、UI に表示されるアクセス許可の名前と 1x1 で一致しないことがあります (UI の参照の方がユーザー フレンドリである場合があるため)。 コード内のアクセス許可と、対応する UI 設定で表示される内容の例を次に示します。
    • COMMUNITY=サイト
    • LAYOUT=サイト/ページ (コンテキストによる)
    • LAYOUT_SET=サイトページ
    • BRANCH=バリエーション
    • PORTLET(S)=アプリケーション
    • SUBGROUPS=サブサイト
  • 詳細については、次のヘルプ センターの記事も参照してください。

did-this-article-resolve-your-issue

legacy-knowledge-base