{"data":{"id":"ACP2E-4565","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the Company GraphQL query returns \"The current customer isn't authorized\" when the X-Adobe-Company header is used.","categories":["GraphQL","B2B"],"components":["magento/module-company-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-78/acp2e-4565","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-78/acp2e-4565.md","blobSha":"807fbfa6ac8200eb9ddb66fd6c54e44d4797202a","description":"The Company GraphQL query returns The current customer isn't authorized when both the X‑Adobe‑Company and Store headers are included in the request, even though the customer is properly assigned to the specified company and store.","stepsToReproduce":"1. Enable B2B company. 1. Create an additional website, store, and store view. 1. Create two companies (Company one and Company two). 1. Create a user assigned to the second website. 1. Assign both companies to the user. 1. Execute the following GraphQL query with these headers: * X-Adobe-Company: MQ== * Store: storeview2 query Company { company { id legal_name name } }","introducedInQpt":"1.1.78","createdFor":["2.4.8-p3"],"documentedRange":"2.4.7-p3","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.5.0 <1.5.3","path":"patches/commerce/ACP2E-4565_B2B-1.5.2-p3.patch","blobSha":"1e249d9c2c8cc0c4beab2ff89c60603e5a305473","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-4565_B2B-1.5.2-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company-graph-ql/Controller/HttpRequestValidator/CompanyValidator.php","change":"modified","package":"magento/module-company-graph-ql"}],"packages":["magento/module-company-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4565 details"}