NoSuchResourcePermissionException: occurring while adding the account groups under visibility inside product
Written By
Pooja Bhambani
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
-
Steps to reproduce the issue:
1. Start Liferay DXP 7.4.
2. Create a user with the sales agent role and also assign the permissions to view the products, account, and account groups.
3. Create 2-3 account groups.
4. Now, log in with the created user.
5. Navigate to the products > Visibility and enable the account groups.
6. Click on the "+" icon, and add the account groups.
Actual Result: As soon as the user added the product, it's redirecting to the product listing page.
Expected Result: The account groups must be added if the user has the custom roles.
Environment
- Liferay DXP 7.4
- Commerce 4.0
Resolution
- The observed behavior is a known Liferay DXP bug which has been addressed in Liferay DXP 7.4 Update 77.
Did this article resolve your issue ?