Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ACL Resource "admin/sales/order/actions/use" not found #4199

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

pbaldauf
Copy link
Contributor

@pbaldauf pbaldauf commented Sep 16, 2024

Description (*)

The observer restrictAdminBillingAgreementUsage just get's triggered from admin area, so we use some existing adminhtml ACL rule which seems to cover exactly this case.

Replace non-existent ACL admin/sales/order/actions/use with available admin/sales/billing_agreement/actions/use.

Fixed Issues (if relevant)

  1. Fixes ACL Resource "admin/sales/order/actions/use" not found #4192

Manual testing scenarios (*)

  1. Went to "Catalog" -> "Manage Products" and clicked on "Edit" at some product

The observer just get's triggered from admin area, so we use some existing ACL rule which seems to be introduced exactly for this case.
@github-actions github-actions bot added the Component: Sales Relates to Mage_Sales label Sep 16, 2024
@sreichel
Copy link
Contributor

Note: To reproduce you have to install https://github.com/riconeitzel/PaymentFilter

@sreichel sreichel merged commit ccb1f6c into OpenMage:main Sep 17, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Sales Relates to Mage_Sales
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ACL Resource "admin/sales/order/actions/use" not found
3 participants