How do you visually check if Magento evaluates your ACL resource as expected?

The module MyCompany_MyModule provides custom admin interface pages.
Access to these pages should only be granted to specific users.
You add the required configuration to the module’s acl.xml file, but the setting does not seem to work as expected.
How do you visually check if Magento evaluates your ACL resource as expected?
A. Write a plugin for the class MagentoFrameworkAclLoaderInterface::populateAcl() and echo out the loaded roles
B. Inspect the output of the CLI command bin/magento admin:role:resources – all
C. In the browser, open the admin User Roles page. Choose a role and inspect the tree of available resources
D. Inspect the response of a GET request to the webapi endpoint http://example.com/rest/V1/acl/resources

Download Printable PDF. VALID exam to help you PASS.

6 thoughts on “How do you visually check if Magento evaluates your ACL resource as expected?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.