{"data":{"id":"ACSD-57337","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where an admin user with access restrictions to specific websites is able to see companies from all websites in the Companies grid.","categories":["B2B"],"components":["magento/module-company"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-48/acsd-57337-admin-user-with-access-restrictions-can-see-companies","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-48/acsd-57337-admin-user-with-access-restrictions-can-see-companies.md","blobSha":"56940f5e15236e3b09b73c3d0e648f4bcaa01390","description":"An admin user with access restrictions to specific websites could view companies from all websites in the Companies grid.","stepsToReproduce":"1. Create an additional website, store and storeview. 1. Create a few companies assigned to different websites. 1. Create an admin user role, and set the role scope to the created website. 1. Create an admin, and assign it to the created role. 1. Log in with a new admin. 1. Open Customers > Companies and observe the list of companies.","introducedInQpt":"1.1.48","createdFor":["2.4.5"],"documentedRange":"2.4.4 - 2.4.5-p6","scheduledFixRelease":"2.5.0"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.3 <1.3.5","path":"patches/commerce/ACSD-57337_1.3.4.patch","blobSha":"580b177df89cf85d4d62d61b7eadd5b0adcb4621","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-57337_1.3.4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company/Plugin/Company/CollectionFilter.php","change":"added","package":"magento/module-company"},{"path":"vendor/magento/module-company/etc/adminhtml/di.xml","change":"modified","package":"magento/module-company"}],"packages":["magento/module-company"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["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","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["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","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-57337 details"}