The MDVA-29042 patch fixes the issue where catalog permissions were changed to "Allow" automatically after new product was added to the shared catalog in Magento Admin. This patch is available when the Magento Quality Patch (MQP) tool v.1.0.5 is installed. Please note that the issue was fixed in Magento version 2.3.6 with B2B extension.
Affected products and versions
Magento Commerce and Magento Commerce Cloud 2.3.3 to 2.3.4-p2 with B2B extension
Issue
Deselecting a customer group from the global category permissions in Magento Admin does not automatically set that customer group to "Deny" within category permissions.
Prerequisites
- B2B instance with a customer group defined and selected under STORES > Configuration > CATALOG > Catalog > Category Permissions for:
- Allow Browsing Category
- Display Product Prices
- Allow Adding to Cart
- Under each Category, the customer group is defined as "Allow" for
- Browsing Category
- Display Product Prices
- Add to Cart
Steps to reproduce
- In Magento Admin, go to STORES > Configuration > CATALOG > Catalog > Category Permissions and de-select the customer group from:
- Allow Browsing Category
- Display Product Prices
- Allow Adding to Cart
- Click the Save Config button.
- Wait for the indexers to run.
- Look at CATALOG > Categories > Category Permissions.
Expected result:
Category Permissions will be set to "Deny" for all categories for the customer group.
Actual result:
No change to any category permissions for the customer group.
Apply the patch
For instructions on how to apply an MQP patch, use the following links depending on your Magento product:
- Magento Commerce: DevDocs Apply patches using Magento Quality Patches Tool.
- Magento Commerce Cloud: DevDocs Upgrades and Patches > Apply patches.
Related reading
To learn more about Magento Quality Patches, refer to:
- Magento Quality Patches released: a new tool to self-serve quality patches.
- Check if patch is available for your Magento issue using Magento Quality Patches.
For info about other patches available in MQP tool, refer to the Patches available in MQP tool section.
To learn more about B2B company functionality, refer to these DevDocs articles: