{"data":{"id":"ACP2E-4300","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where changing a customer group in the Admin doesn't update catalog permissions on the Storefront, causing the catalog and cart to reflect outdated permissions.","categories":["Customer","Order/Checkout"],"components":["magento/module-checkout","magento/module-catalog-permissions"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-81/acp2e-4300","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-81/acp2e-4300.md","blobSha":"2e8ac85c267b7105a20ef844b6af6a1b654a4508","description":"Changing a customer group in the Admin does not update catalog permissions on the storefront, causing the catalog and cart to reflect outdated permissions.","stepsToReproduce":"1. In Admin, go to Stores > Settings > Configuration. 1. In the left panel, expand Catalog and choose Catalog. Expand Category Permissions. Set Enable to Yes. Set Allow Browsing Category to Yes, for Specified Customer Groups. Select General in Customer Groups. 1. Create a simple product and assign it to a category. 1. Go to Catalog > Categories, select the category, expand Category Permissions, click New Permission, choose the applicable Website and Customer Group as the retailer, and set Browsing Category, Display Product Prices, and Add to Cart to Deny. 1. Create a customer account on the storefront with the default General customer group. 1. Add the product to the cart. 1. Go to Customers > All Customers. Select the customer, set the Actions control to Assign a Customer Group, choose Retailer, and click OK when prompted to confirm. 1. Refresh the cart or proceed to the checkout on the storefront.","introducedInQpt":"1.1.81","createdFor":["2.4.7-p5"],"documentedRange":"2.4.5 - 2.4.8-p5","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.5 <2.4.9","path":"patches/os/ACP2E-4420_2.4.7-p5.patch","blobSha":"e1dad46c1a53dd704ffce9d1fb75a082a31d1366","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACP2E-4420_2.4.7-p5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-checkout/Controller/Cart/Add.php","change":"modified","package":"magento/module-checkout"}],"packages":["magento/module-checkout"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p5","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.7-p2","2.4.7-p1","2.4.7","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","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"],"magento-commerce":["2.4.8-p5","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.7-p2","2.4.7-p1","2.4.7","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","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},{"package":"magento/magento2-ee-base","constraint":">=2.4.5 <2.4.9","path":"patches/commerce/ACP2E-4420_2.4.7-p5.patch","blobSha":"fbd83df09daf665971e9ad565d09b0051f22ae44","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACP2E-4420_2.4.7-p5.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-permissions/Model/Plugin/RecollectQuoteWithCatalogPermission.php","change":"added","package":"magento/module-catalog-permissions"},{"path":"vendor/magento/module-catalog-permissions/Model/VerifyQuoteItemPermissionAfterGroupChange.php","change":"added","package":"magento/module-catalog-permissions"},{"path":"vendor/magento/module-catalog-permissions/Observer/CheckQuotePermissionsAfterCustomerLoginObserver.php","change":"added","package":"magento/module-catalog-permissions"},{"path":"vendor/magento/module-catalog-permissions/Observer/CheckQuotePermissionsObserver.php","change":"modified","package":"magento/module-catalog-permissions"},{"path":"vendor/magento/module-catalog-permissions/etc/adminhtml/di.xml","change":"modified","package":"magento/module-catalog-permissions"},{"path":"vendor/magento/module-catalog-permissions/etc/frontend/events.xml","change":"modified","package":"magento/module-catalog-permissions"}],"packages":["magento/module-catalog-permissions"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.8-p5","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.7-p2","2.4.7-p1","2.4.7","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","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":["2.4.8-p5","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.7-p2","2.4.7-p1","2.4.7","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","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"],"magento-commerce":["2.4.8-p5","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.7-p2","2.4.7-p1","2.4.7","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","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":"config","path":"catalog/magento_catalogpermissions/enabled","match":"1"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACP2E-4300 details"}