ACSD-56760: The Admin user that is restricted to a specific website and is unable to sort or add new…
The Admin user that is restricted to a specific website and is unable to sort or add new products inside a category in case the web store has it's own root category. Quality patch ACSD-56760 for magento/module-admin-gws applies to Magento Open Source and Adobe Commerce 2.4.6 to 2.4.6-p15.
- Categories
- Admin
- Components
- magento/module-admin-gws
- Origin
- adobe-commerce-support
- Since QPT
- 1.1.47
Issue
The Admin user that is restricted to a specific website and is unable to sort or add new products inside a category in case the web store has it's own root category.
Steps to reproduce
1. Create 2 websites. 1. Create a restricted admin user with access to only 1 website. 1. Login as the restricted admin user and try to change the product positions in a category. Case 1: * 2 stores. * 2 root categories, each website assigned to it's own category root. Case 2: * 2 stores. * Only 1 root category is assigned to both websites.
Adobe's page lists 2.4.6 - 2.4.6-p4 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.
Adobe scheduled the permanent fix for 2.4.8-beta1.
Install
Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-56760. On Cloud, add ACSD-56760 under stage.build.QUALITY_PATCHES in .magento.env.yaml.
For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-56760/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.
Patch files and compatible versions
magento/magento2-ee-base >=2.4.6 <2.4.7
- Magento Open Source
- —
- vendor/magento/module-admin-gws/Model/Plugin/IsCategoryAuthorizedForDifferentStoreUserRole.php
- vendor/magento/module-admin-gws/Model/Role.php
- vendor/magento/module-admin-gws/Plugin/VisualMerchandiser/Block/Adminhtml/Category/Merchandiser/Grid.php
- vendor/magento/module-admin-gws/Plugin/VisualMerchandiser/ViewModel/MerchandiserViewModel.php
