这里的情况:如何Magento管理菜单链接到角色的资源
我想在Magento的后端导航菜单中添加一个菜单。
我app/etc/config.xml
做到了这一点通过添加以下代码:
<adminhtml>
<menu>
<example translate="title" module="adminhtml">
<title>Inventory</title>
<sort_order>110</sort_order>
<children>
<set_time>
<title>Set It!</title>
<action>helloworld/index/goodbye</action>
</set_time>
</children>
</example>
</menu>
问题是我不能包括在permission-此菜单>角色的资源,所以我不能这样分配给特定用户。
如何将此菜单包含在权限 - >角色资源中?
谢谢你,更多的权力!