Skip to content

Magento 2 acl on magento 2.4

I have a question about how acl resources work on magento 2.4.

Im having an issue where ACL is throwing errors like “Fatal error: Uncaught Zend_Acl_Exception: Resource ‘Magento_Sales::three_d_secure’ not found in /vendor/magento/zendframework1/library/Zend/Acl.php on line 365”

My understanding was that in magento 2.4 it was changed to just use a handler inside system.xml of the module.

I have found a quick fix for this by creating acl.xml files for each of the modules but am confused why the sudden errors after working for a while.