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

特定のポートレットをページに追加するユーザーを制限する方法

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

問題

ユーザーがページに追加できるアプリケーションを制限したい。 新しいレギュラーロールを作成し、複数のユーザーに割り当てました。 各ポートレットに「ページに追加」オプションがチェックされていなくても、「追加」ボタンをクリックすると、ユーザーはリスト内のすべてのアプリを見ることができます。

環境

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2

解決

デフォルトのロール 「User」、「Guest」、「Power User」 は各ポートレットに対して 「ページに追加する」権限を持っています。 まず、これらの権限をクリアする必要があります。

例えば、「User」と「Guest」の権限から「ブログ」を削除すると、アプリケーションリストからすぐに消えます。

did-this-article-resolve-your-issue

legacy-knowledge-base