GraphQL categories and categoryList
queries ignore the category permission to hide categories in a shared catalog. This happens to all merchants on Adobe Commerce 2.4.3 with B2B Shared Catalog feature turned on.
Steps to reproduce:
Prerequisites:
This happens to all merchants on Adobe Commerce 2.4.3 with PWA storefront consuming GraphQL API with Adobe Commerce backend/Admin having B2B Shared Catalog feature turned on.
categoryList query
or the categories query as the company user from step three.Expected results:
Only the CAT1 shows up in the results.
Actual results:
All the categories show up regardless of whether they are assigned/unassigned in the shared catalog or what the category permissions are.
Functionality was not implemented.
The issue is going to be fixed in the scope of version 2.4.4, and merchants should submit a ticket to get a custom patch if they need a solution prior to the 2.4.4 release.