title: Access denied for admin users in the custom module magento
body: <p>I have created a custom module in magento for admin users, i have ready with a basic set up, i have created a user role and give resource access permission for this module, but when i login with that user credentials i am getting an access denied error, but when i login as admin i can access the module.
  My config.xml file</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;config&gt;
      &lt;global&gt;
      &lt;modules&gt;
          &lt;Su_VirtualRetailer&gt;
              &lt;version&gt;0.1.0&lt;/version&gt;    
          &lt;/Su_VirtualRetailer&gt;
      &lt;/modules&gt;
      &lt;blocks&gt;
              &lt;virtualretailer&gt;
                  &lt;rewrite&gt;
           &lt;virtualretailer&gt;Su_VirtualRetailer_Block_VirtualRetailer&lt;/virtualretailer&gt;
          &lt;/rewrite&gt;
              &lt;/virtualretailer&gt;
       &lt;/blocks&gt;
       &lt;helpers&gt;
              &lt;su_virtualretailer&gt;
                  &lt;!-- Helper definition needed by Magento --&gt;
                  &lt;class&gt;Mage_Core_Helper&lt;/class&gt;
              &lt;/su_virtualretailer&gt;            
          &lt;/helpers&gt;
      &lt;/global&gt;
      &lt;frontend&gt;
          &lt;routers&gt;
              &lt;virtualretailer&gt;
                  &lt;use&gt;standard&lt;/use&gt;
                  &lt;args&gt;
                      &lt;module&gt;Su_VirtualRetailer&lt;/module&gt;
                      &lt;frontName&gt;virtualretailer&lt;/frontName&gt;
                  &lt;/args&gt;
              &lt;/virtualretailer&gt;
          &lt;/routers&gt;
          &lt;layout&gt;
              &lt;updates&gt;
                  &lt;virtualretailer&gt;
                        &lt;file&gt;virtualretailer.xml&lt;/file&gt;
                  &lt;/virtualretailer&gt;
              &lt;/updates&gt;
          &lt;/layout&gt;
      &lt;/frontend&gt;
     &lt;admin&gt;
          &lt;routers&gt;
              &lt;adminhtml&gt;
                  &lt;args&gt;
                      &lt;modules&gt;
                          &lt;su_virtualretailer before="Mage_Adminhtml"&gt;Su_VirtualRetailer_Adminhtml&lt;/su_virtualretailer&gt;
                      &lt;/modules&gt;
                  &lt;/args&gt;
              &lt;/adminhtml&gt;
          &lt;/routers&gt;
      &lt;/admin&gt;
  
  &lt;/config&gt;
  </code></pre>
  
  <p>My adminhtml.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;config&gt;
      &lt;menu&gt;
          &lt;retailertab module="su_virtualretailer" translate="title"&gt;
              &lt;title&gt;Virtual Retailer&lt;/title&gt;
              &lt;sort_order&gt;100&lt;/sort_order&gt;
              &lt;children&gt;
                  &lt;index module="su_virtualretailer" translate="title"&gt;
                      &lt;title&gt;Home&lt;/title&gt;
                      &lt;sort_order&gt;1&lt;/sort_order&gt;
                      &lt;action&gt;adminhtml/custom&lt;/action&gt;
                  &lt;/index&gt;
                  &lt;myaccount module="su_virtualretailer" translate="title"&gt;
                      &lt;title&gt;My Account&lt;/title&gt;
                      &lt;sort_order&gt;2&lt;/sort_order&gt;
                      &lt;action&gt;adminhtml/custom/list&lt;/action&gt;
                  &lt;/myaccount&gt;
                  &lt;shop module="su_virtualretailer" translate="title"&gt;
                      &lt;title&gt;Shop&lt;/title&gt;
                      &lt;sort_order&gt;3&lt;/sort_order&gt;
                      &lt;action&gt;adminhtml/custom/shop&lt;/action&gt;
                  &lt;/shop&gt;
              &lt;/children&gt;
          &lt;/retailertab&gt;
      &lt;/menu&gt;
      &lt;acl&gt;
          &lt;resources&gt;
              &lt;admin&gt;
                  &lt;children&gt;
                      &lt;retailertab translate="title" module="su_virtualretailer"&gt;
                          &lt;title&gt;Virtual Retailer&lt;/title&gt;
                          &lt;sort_order&gt;-100&lt;/sort_order&gt;
                          &lt;children&gt;
                              &lt;index translate="title"&gt;
                                  &lt;title&gt;Home Action&lt;/title&gt;
                                  &lt;sort_order&gt;1&lt;/sort_order&gt;
                              &lt;/index&gt;
                              &lt;myaccount translate="title"&gt;
                                  &lt;title&gt;My Account Action&lt;/title&gt;
                                  &lt;sort_order&gt;2&lt;/sort_order&gt;
                              &lt;/myaccount&gt;
                              &lt;shop translate="title"&gt;
                                  &lt;title&gt;Shop Action&lt;/title&gt;
                                  &lt;sort_order&gt;3&lt;/sort_order&gt;
                              &lt;/shop&gt;
                          &lt;/children&gt;
                      &lt;/retailertab&gt;
                  &lt;/children&gt;
              &lt;/admin&gt;
          &lt;/resources&gt;
      &lt;/acl&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>i have given acl permissions in config.xml, i am not sure any thing that i did wrong here.
  admin user login error screen shot
  <a href="https://i.stack.imgur.com/7wzsT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7wzsT.png" alt="enter image description here"></a></p>
  
  <p>working for admin login, screen shot
  <a href="https://i.stack.imgur.com/hdC0Q.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hdC0Q.png" alt="enter image description here"></a></p>