MDVA-29959 patch: admin with “Customers” permissions cannot manage company account

MDVA-29959 patch available in the Quality Patches Tool (QPT) tool version 1.0.5 fixes the issue where a restricted admin user with all permissions for “Customer” ACL cannot manage companies (add or delete a company). Please note, that the issue is fixed in B2B for Adobe Commerce 2.3.4.

Affected products and versions

B2B for Adobe Commerce on cloud infrastructure 2.3.0-2.3.3-p1.

NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Admin user with all permissions for “Customer” ACL cannot manage companies (add or delete a company).

Steps to reproduce

  1. In the Commerce Admin, create a new admin role and assign a user to that role.
  2. Assign only “Customer” resources to the role.
  3. Log in as a user with this role.
  4. Try to delete a company account.

Expected result:

The company account is successfully deleted.

Actual result:

You are not able to delete the company account. You get the Sorry, you need permissions to view this content. error message.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a