title: Magento custom tab and admin controller acl
body: <p>I have an issue with a custom controllers ACL for the admin backend.
  Ive read, re-read, checked....and still cant find my issue. Dammit.</p>
  
  <p>First, the code...the module itself is working...i have blocks, helpers, front end controllers...system->config tab/group data...all working fine. My issue is just relating to admincontroller acl...so ill just add the relevant code for that area for now.</p>
  
  <p>My backend  tab is showing, but the urls (admin/mynewmodule/index, admin/mynewmodule/list) go to a 404 page.</p>
  
  <p>config.xml, admin routers:</p>
  
  <pre><code> &lt;admin&gt;
      &lt;routers&gt;
          &lt;adminhtml&gt;
              &lt;args&gt;
                  &lt;modules&gt;
                      &lt;mynewmodule before="Mage_Adminhtml"&gt;
                          Mworkz_MyNewModule_Adminhtml
                      &lt;/mynewmodule &gt;
                  &lt;/modules&gt;
              &lt;/args&gt;
          &lt;/adminhtml&gt;
      &lt;/routers&gt;
  &lt;/admin&gt;
  </code></pre>
  
  <p>Adminhtml.xml, backend tab, and acl</p>
  
  <pre><code> &lt;?xml version="1.0"?&gt;
   &lt;config&gt;
   &lt;menu&gt;
      &lt;mynewmodule module="mynewmodule " translate="title"&gt;
          &lt;title&gt;MyNewModule&lt;/title&gt;
          &lt;sort_order&gt;71&lt;/sort_order&gt;               
              &lt;children&gt;
                      &lt;items module="mynewmodule " translate="title"&gt;
                          &lt;title&gt;Index Action&lt;/title&gt;
                          &lt;sort_order&gt;1&lt;/sort_order&gt;
                          &lt;action&gt;adminhtml/mynewmodule/&lt;/action&gt;
                      &lt;/items&gt;
                      &lt;list module="mynewmodule " translate="title"&gt;
                          &lt;title&gt;List Action&lt;/title&gt;
                          &lt;sort_order&gt;2&lt;/sort_order&gt;
                          &lt;action&gt;adminhtml/mynewmodule/list/&lt;/action&gt;
                      &lt;/list&gt;
               &lt;/children&gt;
      &lt;/mynewmodule &gt;
  &lt;/menu&gt;
  
      &lt;acl&gt;
          &lt;resources&gt;
              &lt;admin&gt;
                  &lt;children&gt;
                      &lt;system&gt;
                          &lt;children&gt;
                              &lt;config&gt;
                                  &lt;children&gt;
                                      &lt;mynewmodule translate="title"&gt;
                                              &lt;title&gt;MyNewModule&lt;/title&gt;
                                      &lt;/mynewmodule&gt;
                                  &lt;/children&gt;
                              &lt;/config&gt;
                          &lt;/children&gt;
                      &lt;/system&gt;
                      &lt;mynewmodule translate="title" module="mynewmodule"&gt;
                      &lt;title&gt;MyNewModule&lt;/title&gt;
                          &lt;sort_order&gt;-100&lt;/sort_order&gt;
                          &lt;children&gt;
                              &lt;items translate="title"&gt;
                                  &lt;title&gt;Index Action&lt;/title&gt;
                                  &lt;sort_order&gt;1&lt;/sort_order&gt;
                              &lt;/items&gt;
                              &lt;list translate="title"&gt;
                                  &lt;title&gt;List Action&lt;/title&gt;
                                  &lt;sort_order&gt;2&lt;/sort_order&gt;
                              &lt;/list&gt;
                          &lt;/children&gt;
                      &lt;/mynewmodule&gt;
                  &lt;/children&gt;
              &lt;/admin&gt;
          &lt;/resources&gt;
      &lt;/acl&gt;
      &lt;layout&gt;
          &lt;updates&gt;
              &lt;mynewmodule&gt;
                  &lt;file&gt;mworkz/mynewmodule.xml&lt;/file&gt;
              &lt;/mynewmodule&gt;
          &lt;/updates&gt;
      &lt;/layout&gt;
  
   &lt;/config&gt;
  </code></pre>
  
  <p>Admin controller</p>
  
  <pre><code> class Mworkz_MyNewModule_Adminhtml_MyNewModuleController extends Mage_Adminhtml_Controller_action
   {
  
  protected function _initAction() {
  
      $this-&gt;loadLayout()
          -&gt;_setActiveMenu('extbuilderpro/items')
          -&gt;_addBreadcrumb(Mage::helper('adminhtml')-&gt;__('Items Manager'), Mage::helper('adminhtml')-&gt;__('Item Manager'));
  
      return $this;
  }   
  
  public function indexAction() {
  
      $this-&gt;_initAction()
          -&gt;renderLayout();
  }
  
   public function listAction() {
  
      $this-&gt;_initAction()
          -&gt;renderLayout();
  }
  
   }
  </code></pre>