I installed SUPER-6285 patch on our Mangeto 1.13.1.0. and created a custom module for sales and assign that modules to a user. Showing access denied for that users
I applied the below function in my controller.
Path : controller/Adminhtml/OrderController.php
class Vtrio_OfflineOrders_Adminhtml_OrderController extends Mage_Adminhtml_Controller_Action
{
protected function _isAllowed(){
return Mage::getSingleton('admin/session')->isAllowed('sales/vtrio_offlineorders');
}
}
adminhtml.xml
<?xml version="1.0"?>
<config>
<menu>
<sales>
<children>
<vtrio_offlineorders>
<title>Offline Orders</title>
<action>adminhtml/order/</action>
<sort_order>2</sort_order>
</vtrio_offlineorders>
</children>
</sales>
</menu>
<acl>
<resources>
<admin>
<children>
<sales>
<children>
<vtrio_offlineorders>
<title>Offline Orders</title>
</vtrio_offlineorders>
</children>
</sales>
</children>
</admin>
</resources>
</acl>
</config>
When i open the custom order module and trying to create an order, first time the order is not getting created (2nd time onwards it will)
adminhtml
router configuration? – MauroNigrele Feb 17 '16 at 5:58