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

アカウント メンバーは開いているカートを見ることができません

written-by

Tímea Bihari

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

問題

1) Minium テンプレート
で新しいサイトを作成します 2) コントロール パネル > ユーザー
に移動します 3) 新しいユーザー (ユーザー A) を作成します
4) コントロール パネル > アカウント
に移動します 5) 新しいアカウントを作成し、管理者を割り当てます。ユーザー A からアカウント
6) 管理者でカタログに移動
7) カートにいくつかのアイテムを追加し、カートを開く
8) ユーザー A でサイトにアクセス
9) ユーザー A でカートを開く

実結果

次のエラーが表示されます: オープン カートは一時的に利用できません。

コンソールの例外:

2022-11-30 11:24:24.394 ERROR [ajp-nio-0.0.0.0-8009-exec-19][AccountSelectorTag:184] null
com.liferay.portal.kernel.security.auth.PrincipalException$MustHavePermission: ユーザー 100576 には com.liferay.commerce の VIEW 権限が必要です。 model.CommerceOrder 7064255
at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.check(DefaultModelResourcePermission.java:67) ~[portal-kernel.jar:?]

期待される結果
ユーザーに注文が表示されます。

Environment

  • Liferay DXP 7.4
  • コマース

解決策

  • ユーザー A にはバイヤーの役割が割り当てられていません。
  • 購入者の役割が提供されると、ユーザー A は [カートを開く] ウィジェットで注文を確認できるようになります。

did-this-article-resolve-your-issue

legacy-knowledge-base