Closed Amr3zzat closed 4 years ago
Thank you for your pull request. One thing I was woundering when looking through the documentation is: In the docs it says that the endpoint returns a 500 if the user does not own the address. If this behaviour has also changed then could you please update the documentation and add a note in the UPGRADE.md
that this changed.
@mamazu Thanks for review , I have updated the docs and the upgrade.
Could you please rebase your pull request to the current master and also add the authorization documentation to the new "change password route"?
@mamazu Sure I will do that
@mamazu I have rebased the master , I checked the change password route in docs , the new protection will match with new route docs , It will return 401
I don't really get why the address book routes return a 404 when the customer does not have access to those routes instead of a 403 but as this seems to be Sylius default I am okay with it.
Thanks, Amr! :tada:
Protect Address book and me routes in security.yaml related issues #569