ACSD-51907: Restricted admin user can’t create credit memo for offline refund

The ACSD-51907 patch fixes the performance issue where the restricted admin user can’t create a credit memo with an offline refund. This patch is available when the Quality Patches Tool (QPT) 1.1.33 is installed. The patch ID is ACSD-51907. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.2-p2

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.2 < 2.4.3-p3
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.


Restricted admin user can’t create a credit memo with an offline refund.

Steps to reproduce:

  1. Create a customer on the default website.
  2. Create new website with related store and store view.
  3. Set default website to the new website, clear caches.
  4. Change customer Configuration: Admin > Store > Configuration > Customers > Customer Configuration > Share Customer Accounts = Global.
  5. Create a new admin user role with the role scope set to new created website (access to sales data only) in Admin > System > Permissions.
  6. Create a new admin account with this role.
  7. Create new order using online payment method (e.g. or PayPal).
  8. Login as a restricted admin user.
  9. Go to Sales > Orders > then order view page.
  10. Create an Invoice.
  11. Navigate to the Invoices Tab.
  12. Click on Invoice.
  13. Click on Credit Memo.
  14. Check the Refund to Store Credit checkbox, set the text field near it to the 1 value.
  15. Click on the Refund Offline button.

Expected results:

The credit memo is created, and $1 is refunded to the store credit.

Actual results:

The error message, More permissions are needed to view this item is displayed.

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 Quality Patches Tool: Search for patches in the Quality Patches Tool guide.