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

このポートレットにアクセスするために必要なロールを持っていません」エラーのカスタムページを設定する方法

written-by

Kanchan Bisht

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

問題

  • 404エラーのカスタムページはDXPで簡単に設定できますが、 「You do not have roles required to access this portlet」 エラーのカスタムページはどのようにデザインすればよいのでしょうか。

Environment

  • Liferay DXP 7.4

解決策

  • ここで要求された要件を実現するOOTB機能はありませんが、エラーはこのJSPファイル({liferay_home}\tomcatwebapps\ROOThtmlositoryportal)から発生しているため、ユーザーは 'portlet access denied.jsp' にエラーメッセージを作成してみることができます。
  • ここでは参考になりそうなこちらの記事をご覧ください: Dynamic Includesを使用したJSPのカスタマイズ

追加情報

  • 私たちは、「Global Service Team」という独立したチャンネルを設け、ユーザーがあらゆるタイプの実装やカスタマイズに関するヘルプを求めることができるようにしています。
did-this-article-resolve-your-issue

legacy-knowledge-base