這裏的情況:如何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-此菜單>角色的資源,所以我不能這樣分配給特定用戶。
如何將此菜單包含在權限 - >角色資源中?
謝謝你,更多的權力!