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

ログインしていないユーザーは許可ポートレットを表示できます

written-by

Laura Li

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

問題

  • ログインしていないユーザーは、特定の URL を介して許可ポートレットを表示できます

Environment

  • Liferay DXP 7.2

解決策

  • portal-ext.properties に以下を追加し、サーバーを再起動して、デフォルト プロパティ portlet.add.default.resource.check.whitelist から com_liferay_portlet_configuration_web_portlet_PortletConfigurationPortlet を削除します。
    portlet.add.default.resource.check.whitelist=\
        com_liferay_calendar_web_portlet_CalendarPortlet,\
        com_liferay_login_web_portlet_FastLoginPortlet,\
        com_liferay_login_web_portlet_LoginPortlet,\
        com_liferay_portlet_configuration_css_web_portlet_PortletConfigurationCSSPortlet,\
        com_liferay_product_navigation_simulation_web_portlet_SimulationPortlet,\
        com_liferay_staging_bar_web_portlet_StagingBarPortlet

did-this-article-resolve-your-issue

legacy-knowledge-base