{"data":{"id":"MC-42528","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the `categoryList` GraphQL query returns both assigned and unassigned categories.","categories":["GraphQL"],"components":["magento/module-catalog-graph-ql","magento/module-catalog-permissions","magento/module-catalog-permissions-graph-ql","magento/module-catalog-staging-graph-ql"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-4/mc-42528-graphql-query-of-categorylist-shows-all-categories","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-4/mc-42528-graphql-query-of-categorylist-shows-all-categories.md","blobSha":"0cd1723ce6db12d29921c5e8d934ad778938f4b4","description":"GraphQL query of categoryList returns both assigned and unassigned categories.","stepsToReproduce":"1. Create two categories, CAT1 and CAT2, and assign few products to each category. 1. Create a private shared catalog. 1. Create a company user and assign it to the created shared catalog. 1. Assign CAT1 to the custom catalog and set the category permission to \"Allow\" Browsing Category for the customer group of the private catalog. 1. Set the category permission for CAT2 to \"Deny\" Browsing Category for the customer group of private catalog. 1. Run the categoryList or categories GraphQL query as the company user.","introducedInQpt":"1.1.4","createdFor":["2.4.3"],"documentedRange":"2.4.3 - 2.4.3-p1","scheduledFixRelease":"2.4.4"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.3 <2.4.4","path":"patches/os/MC-42528_2.4.3.patch","blobSha":"b00df89a4263fffe408c6f30af8910b0d5bd49f5","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MC-42528_2.4.3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-graph-ql/Model/Resolver/Category/ProductsCount.php","change":"modified","package":"magento/module-catalog-graph-ql"},{"path":"vendor/magento/module-catalog-graph-ql/Model/Resolver/CategoryList.php","change":"modified","package":"magento/module-catalog-graph-ql"},{"path":"vendor/magento/module-catalog-graph-ql/Model/Resolver/Products/DataProvider/CategoryTree.php","change":"modified","package":"magento/module-catalog-graph-ql"},{"path":"vendor/magento/module-catalog-graph-ql/Model/Resolver/Products/DataProvider/ExtractDataFromCategoryTree.php","change":"modified","package":"magento/module-catalog-graph-ql"}],"packages":["magento/module-catalog-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-ee-base","constraint":">=2.4.3 <2.4.4","path":"patches/commerce/MC-42528_2.4.3.patch","blobSha":"473ef3b769f04cd9f185fb296704667e8c83bbb2","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/MC-42528_2.4.3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-permissions/Plugin/Catalog/AddPermissionsToCountSql.php","change":"added","package":"magento/module-catalog-permissions"},{"path":"vendor/magento/module-catalog-permissions-graph-ql/Model/Customer/GroupProcessor.php","change":"modified","package":"magento/module-catalog-permissions-graph-ql"},{"path":"vendor/magento/module-catalog-permissions-graph-ql/etc/graphql/di.xml","change":"modified","package":"magento/module-catalog-permissions-graph-ql"},{"path":"vendor/magento/module-catalog-staging-graph-ql/Model/Plugin/PreviewReindexPlugin.php","change":"modified","package":"magento/module-catalog-staging-graph-ql"}],"packages":["magento/module-catalog-permissions","magento/module-catalog-permissions-graph-ql","magento/module-catalog-staging-graph-ql"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MC-42528 details"}