Legacy Knowledge Base
Published Jun. 30, 2025

Account Member cannot see Open Carts

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

1) Create a new site with Minium Template
2) Go to Control Panel > Users
3) Create a new user (User A)
4) Go to Control Panel > Account
5) Create a new Account and assign the Administrator and User A to the account
6) Go to Catalog with the Administrator
7) Add some items in the Cart and go in Open Carts
8) Access the site with User A
9) Go to Open Carts with User A

Actual Result

You get the error: Open Carts is temporarily unavailable.

Exception in the console:

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: User 100576 must have VIEW permission for com.liferay.commerce.model.CommerceOrder 7064255
        at com.liferay.portal.kernel.internal.security.permission.resource.DefaultModelResourcePermission.check(DefaultModelResourcePermission.java:67) ~[portal-kernel.jar:?]

Expected Result
The user should see the order.

Environment

  • Liferay DXP 7.4
  • Commerce

Resolution

  • User A has not been assigned the Buyer role.
  • Once Buyer role is provided, User A should be able to see the order in Open Carts widget.

 

Did this article resolve your issue ?

Legacy Knowledge Base