{"data":{"id":"ACSD-51636","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the company admin can't add new users from the customer account section despite having all necessary roles and permissions.","categories":["B2B","Customer"],"components":["magento/module-login-as-customer-logging"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-34/acsd-51636-company-admin-cannot-add-new-users","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-34/acsd-51636-company-admin-cannot-add-new-users.md","blobSha":"0bdac02f8eeda5518245b376ebe94ca331c06364","description":"The company admin can't add new users from the customer account section despite having all necessary roles and permissions.","stepsToReproduce":"1. Create a new company. 1. Go to Admin > Customers > All Customers. 1. Edit Company Admin type to Customer. 1. Log in as a customer. 1. Go to My Account > Company Users > Add User and add details for the user and make it active. 1. Save the new user.","introducedInQpt":"1.1.34","createdFor":["2.4.5-p2"],"documentedRange":"2.4.5 - 2.4.6-p1","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.4.5 <2.4.6-p12","path":"patches/commerce/ACSD-51636_2.4.5-p2.patch","blobSha":"89a7e2769c96751042470206874896314c900531","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-51636_2.4.5-p2.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-login-as-customer-logging/Observer/LogSaveCustomerObserver.php","change":"modified","package":"magento/module-login-as-customer-logging"}],"packages":["magento/module-login-as-customer-logging"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/debug.log","match":"report.CRITICAL: Error: Call to a member function __toArray() on null in */Observer/LogSaveCustomerObserver.php"},{"type":"config","path":"btob/website_configuration/company_active","match":"1"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-51636 details"}