title: Zend module specific ACL
body: <p>In my projects there are about 5, 6 modules</p>
  
  <pre><code>Ex: Web - Public access, URL - www.abc.com
  Admin - admin can access - admin.abc.com (Non Acl)
  CP - Specific group can access - cp.abc.com (Non Acl)
  pbo - Another group can access - pbo.abc.com (Acl based and implemented recently)
  </code></pre>
  
  <p>As given above, we recently added a module called PBO, based on ACL plugin, </p>
  
  <p>each module has a specific Bootstrap file, </p>
  
  <p>But after the implementation of new module, all the other modules are going through the ACL plugin and redirect to the default page of the PBO module.</p>
  
  <p>This is how Privileges are set</p>
  
  <pre><code>$this-&gt;acl-&gt;allow('superAdmin', 'user', array('login','logout'));
  $this-&gt;acl-&gt;allow('superAdmin', 'index', 'index');
  $this-&gt;acl-&gt;allow('superAdmin', 'app', 'index');
  
  $this-&gt;acl-&gt;allow('admin', 'user', array('index','login','logout','registered'));      
  $this-&gt;acl-&gt;allow('admin', 'index', 'index');
  $this-&gt;acl-&gt;allow('admin', 'app', array('index', 'do-feature', 'do-delete'));
  </code></pre>
  
  <p>Initialize ACL in the bootstrap file</p>
  
  <pre><code>public function _initAcl()
  {
      //Omit the process in CLI mode
      if (php_sapi_name() != 'cli') 
      {        
          $helper = new Nexva_Controller_Action_Helper_AclPbo();
          $helper-&gt;setRoles();
          $helper-&gt;setResources();
          $helper-&gt;setPrivilages();
          $helper-&gt;setAcl();
  
          //Register the ACL plugin - Then it will be called automatically,whenever an     acion is called
          $frontController = Zend_Controller_Front::getInstance(); 
          $frontController-&gt;registerPlugin(new Nexva_Plugin_AclPbo());
  
      }
  }
  </code></pre>
  
  <p>Is there any way to avoid calling ACL of PBO module in other modules ?</p>