{"data":{"id":"ACSD-56858","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where B2B company role permissions are displayed incorrectly for a restricted company admin.","categories":["B2B"],"components":["magento/module-company"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-47/acsd-56858-role-permissions-display-issue-in-b2b-company-admin-panel","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-47/acsd-56858-role-permissions-display-issue-in-b2b-company-admin-panel.md","blobSha":"10dbe3548cf7770ab2c8c9142bb6623d9480ea4f","description":"The role permissions for a restricted company admin in the B2B environment are inaccurately displayed.","stepsToReproduce":"1. Begin by setting up a company, adding a company admin and company users. 1. Log in as the company admin at the storefront and create various roles for different users. 1. Assign these roles as needed, such as limiting access for some tasks while allowing full access for others. 1. Assign these roles with full access to a user other than the company admin. 1. Log in to a non-company admin user, for e.g. a company_manager. 1. Navigate to Roles and permission and edit the role. 1. Notice that the permissions displayed do not match the permissions set in the company's database for that role ID.","introducedInQpt":"1.1.47","createdFor":["2.4.6-p3"],"documentedRange":"2.4.2 - 2.4.6-p4","scheduledFixRelease":"2.4.7"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.1 <1.3.6","path":"patches/commerce/ACSD-56858_1.3.5-p3.patch","blobSha":"4c67dea8c350b9951e806f5d6d50d2078e41269b","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-56858_1.3.5-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-company/Model/Authorization/PermissionProvider.php","change":"modified","package":"magento/module-company"}],"packages":["magento/module-company"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4","2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-56858 details"}