magento adminhtml xml中"Allow Everything"究竟做了什么?

Sco*_*t S 1 xml magento

任何人都可以告诉我下面的xml的标题节点实际上是什么?我很难找到相关信息.

<config>
<acl>
    <resources>
        <all>
            <title>Allow Everything</title>
        </all>
        <admin>
            <children>
                <system>
                    <children>
                        <config>
                            <children>
                                <tag_manager translate="title" module="googletagmanager">
                                    <title>Google Tag Manager</title>
                                    <sort_order>0</sort_order>
                                </tag_manager>
                            </children>
                        </config>
                    </children>
                </system>
            </children>
        </admin>
    </resources>
</acl>
Run Code Online (Sandbox Code Playgroud)

Mar*_*ius 5

标记用于All在用户角色定义中生成选项.
它在核心文件中很有用,但在自定义模块中没有任何价值.老实说,我不知道这是如何失控的.网络上的任何地方都有扩展名和带有此all标记的代码示例.也许这只是另一种情况.这就是他们如何做到就像$installer = $this在升级脚本中使用一样.你可以删除它,看看会发生什么......没什么.