-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Issue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for responseReported on 2.4.7-p5Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.
Description
Preconditions and environment
- Magento version: 2.4.7-p5
Steps to reproduce
- Login to the Backend with a user who does not have the Magento_Sales::cancel right
- Navigate to Sales > Customers > > Create Order Click cancel Expected result There should not have been a cancel button because you do not have the right to do so. Actual result You see an error page because without Magento_Sales::cancel right you are not permitted to access the route sales/order_create/cancel/key/ Additional information The issing check is in magento/module-sales/Block/Adminhtml/Order/Create.php I'd overwrite that function but it's private. Release note Add check of Magento_Sales::cancel privileges to cancel button on order creation. Triage and priority [ ] Severity: S0 - Affects critical data or functionality and leaves users without workaround. [ ] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround. [ ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround. [x] Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround. [ ] Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Issue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for responseReported on 2.4.7-p5Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.
Type
Projects
Status
Needs Update