Closed
Description
As a Magento Developer,
I want to expose B2B shared catalog functionality via GraphQL
So that customers can use a more flexible and performant API technology.
Connected tickets
- GraphQL "categories" and "categoryList" do not consider Category Permissions configuration
- Prices should be hidden from products query results when the category permissions chooses to hide them
- Search should be disabled from products query when general configuration chooses to disabled it
- "Add to Cart" mutations in GraphQl should consider Catalog Permissions
Acceptance Criteria
GraphQL respects user permissions for all storefront operations.
WebAPI test coverage and indirectly covered by its sub-tickets
- Sub tickets should provide WebApi coverage on EE level - coming from the CatalogPermissions feature
- Specifically this ticket should provide such WebApi coverage that by fixture(s) creates a shared catalog - this would just verify the shared catalog as a concept that is build on top of the catalog permisssions
All builds are green
Related Pull Requests
- Api functional tests on Shared catalog PR is:
https://github.com/magento/partners-magento2b2b/pull/335
and is continuation from PR
https://github.com/magento/partners-magento2b2b/pull/96 - For [GraphQL "categories" and "categoryList" do not consider Category Permissions configuration ] (GraphQL "categories" and "categoryList" do not consider Category Permissions configuration #29880) PRs are
Categories permissions for "categories" and "categoryList" #29883
https://github.com/magento/partners-magento2ee/pull/319 - For Prices should be hidden from products query results when the category permissions chooses to hide them PR is
magento/magento2#29926: Prices should be possibly hidden from products query results #29998 - For Search should be disabled from products query when general configuration chooses to disabled it PRs are
Search should be disabled from products query when general configuration chooses to disabled it #30118
https://github.com/magento/partners-magento2ee/pull/337 - For "Add to Cart" mutations in GraphQl should consider Catalog Permissions PRs are
Add to Cart mutations in GraphQl should consider Catalog Permissions #30019
https://github.com/magento/partners-magento2ee/pull/328
Other relater PRs are
-
Extract getting customer group id from context into its own class
https://github.com/magento/partners-magento2ee/pull/326 -
Increase accuracy in the context isCustomer method
Context "isCustomer" should return false for Admin and Integration tokens #29894