Contributions
Shaping the tools I use every day, one pull request at a time
A hand-picked selection: only the contributions worth reading about, not every merged pull request. Articles about Magento and Adobe Commerce are on the blog.
Break the admin login redirect loop for roles with no resources — on GitHub
An admin whose role had no resources assigned got redirected from adminhtml/index to adminhtml/noroute/denied — a page they also could not access, so the browser bounced forever. Skipping the request key check for the error page lets the denial actually render.
Only merged work is listed here, and only the parts worth a comment — the full history, including everything still in review, lives on GitHub.
Magento 2.1 deprecated
$attribute->save()and$attribute->getResource(), but every tutorial and Stack Overflow answer still used them forused_in_forms. Added the section showing the current approach.