-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Mark AbstractAccount as DEPRECATED for Magento_Customer controllers #27214
Mark AbstractAccount as DEPRECATED for Magento_Customer controllers #27214
Conversation
Hi @lbajsarowicz. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@magento give me test instance |
Hi @lbajsarowicz. Thank you for your request. I'm working on Magento instance for you |
Hi @lbajsarowicz, here is your new Magento instance. |
PS: I wanted to move Plugin to the right location |
There was a logical issue because even if you were not permitted to Action, the |
As we don't implement AbstractAction magento2/lib/internal/Magento/Framework/App/FrontController.php Lines 159 to 166 in 510310b
I'm not going to put any flags around execute. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can write some integration tests to verify that some actions are allowed for authorized customers only?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmytro-ch Could you review the latest changes? Thanks!
Hi @dmytro-ch, thank you for the review. |
✔️ QA Passed |
@magento run all tests |
Failed functional tests not related to the changes in this PR |
Hi @lbajsarowicz, thank you for your contribution! |
Description (*)
According to recent changes in favour of Composition over inheritance in Magento 2 Controller Structure - I've introduced changes to Account controllers. That is the first step - make
AbstractAccount
deprecated.Related Pull Requests
Fixed Issues (if relevant)
N/A
Manual testing scenarios (*)
N/A
Questions or comments
Reattached the Authorization plugin to
AccountInterface
fromAbstractAccount
Contribution checklist (*)