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

portal-ext でサイトを無効にしているにもかかわらず、ユーザーがサイトを取得する

written-by

Alexandra Rujzam

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

問題

portal-ext.properties で次の を行いましたが、ユーザーが作成されると、ユーザー名をフレンドリー URL として持つ group_ テーブルにもエントリが作成されます。

layout.user.public.layouts.enabled=false
layout.user.public.layouts.auto.create=false
layout.user.private.layouts.enabled=false
layout.user.private.layouts.auto.create=false

Environment

  • Liferay ポータル 6.0+
  • Liferay DXP 7.0+

解決策

ユーザーのグループ (=site) の作成は意図的なものであり、無効にすることはできません。特定のユーザーに関連付けられたグループが常に存在します。 上記のプロパティが制御するのは、グループの作成ではなく、パブリック/プライベート ページ (= レイアウト) の作成です。 個人用サイトの詳細については、次を参照してください: 個人用サイトのカスタマイズ。

did-this-article-resolve-your-issue

legacy-knowledge-base