Monday, January 25, 2021
1 change · master
Enhancements to existing features
Website pages tied to a specific site are now checked more consistently before they are shown, reducing cases where content from the wrong website could be accessed. This centralizes the behavior across many website features, making multi-website setups more reliable and easier to maintain.
Original PR description
Before this commit, routes were prevented to be accessed if the route model was not accessible from the current website, eg you couldn't access blog1 which is set to website2 from website 1. That would raise a 404 even from admin/editor. This commit introduce that behavior at a lowel level in a generic way, instead of having to write it on every route. Note that routes without a model converter won't benefit from this. Closes #63499