title: CakePHP: Setting up ACL allow/deny not working (tables not being updated)?
body: <p>I am trying to set up my ACL with the following action in my UsersController:</p>
  
  <pre><code>class UsersController extends AppController {
  
      var $name = 'Users';
      var $helpers = array('Html', 'Form');
  
      function beforeFilter() {
          parent::beforeFilter();
          $this-&gt;Auth-&gt;allow('*');
  
  
      }
  
      function install() {
          $group =&amp; $this-&gt;User-&gt;Group;
  
          //Allow admins to everything
          $group-&gt;id = 1;     
          $this-&gt;Acl-&gt;allow($group, 'controllers');
  
          //allow users
          $group-&gt;id = 2;
          $this-&gt;Acl-&gt;deny($group, 'controllers');
          $this-&gt;Acl-&gt;allow($group, 'controllers/Messages');
          $this-&gt;Acl-&gt;allow($group, 'controllers/MessageLists');
          $this-&gt;Acl-&gt;allow($group, 'controllers/Products');
          $this-&gt;Acl-&gt;allow($group, 'controllers/Widgetviews');
      }
  </code></pre>
  
  <p>So I follow <code>localhost/users/install</code>, and after echoing some numbers in the function, I realized it ran. However, Cake gives me the following error:</p>
  
  <pre><code>Error: The requested address '/users/install' was not found on this server.
  </code></pre>
  
  <p>I don't really know what the problem is, but my acos/aros/aros_acos tables are all untouched after this. Here is their data from the following query:</p>
  
  <pre><code>mysql&gt; select * from aros_acos a join acos c on a.aco_id=c.id join aros r on a.a
  ro_id=r.id
      -&gt; ;
  +----+--------+--------+---------+-------+---------+---------+----+-----------+-------+-------------+-------------+------+------+----+-----------+-------+-------------+-------+------+------+
  | id | aro_id | aco_id | _create | _read | _update | _delete | id | parent_id | model | foreign_key | alias       | lft  | rght | id | parent_id | model | foreign_key | alias | lft  | rght |
  +----+--------+--------+---------+-------+---------+---------+----+-----------+-------+-------------+-------------+------+------+----+-----------+-------+-------------+-------+------+------+
  |  1 |      1 |      1 | 1       | 1     | 1       | 1       |  1 |      NULL | NULL  |        NULL | controllers |    1 |    2 |  1 |      NULL | Group |           1 | NULL  |    1 |    4 |
  |  2 |      2 |      1 | -1      | -1    | -1      | -1      |  1 |      NULL | NULL  |        NULL | controllers |    1 |    2 |  2 |      NULL | Group |           2 | NULL  |    5 |   10 |
  |  3 |      1 |      2 | 1       | 1     | 1       | 1       |  2 |      NULL | NULL  |        NULL | controllers |    3 |    4 |  1 |      NULL | Group |           1 | NULL  |    1 |    4 |
  |  4 |      2 |      2 | -1      | -1    | -1      | -1      |  2 |      NULL | NULL  |        NULL | controllers |    3 |    4 |  2 |      NULL | Group |           2 | NULL  |    5 |   10 |
  +----+--------+--------+---------+-------+---------+---------+----+-----------+-------+-------------+-------------+------+------+----+-----------+-------+-------------+-------+------+------+
  4 rows in set (0.00 sec)
  </code></pre>
  
  <p>EDIT:
  I had debug set to 0, so after switching it to 2 I am getting the following warnings:</p>
  
  <pre><code>Warning (512): AclNode::node() - Couldn't find Aro node identified by "Array
  (
      [Aro0.model] =&gt; Group
      [Aro0.foreign_key] =&gt; 1
  )
  " [CORE\cake\libs\model\db_acl.php, line 191]
  Warning (512): DbAcl::allow() - Invalid node [CORE\cake\libs\controller\components\acl.php, line 324]
  Warning (512): AclNode::node() - Couldn't find Aro node identified by "Array
  (
      [Aro0.model] =&gt; Group
      [Aro0.foreign_key] =&gt; 2
  )
  " [CORE\cake\libs\model\db_acl.php, line 191]
  </code></pre>
  
  <p>I also re-created my DbAcl and it populated the <code>acos</code> table but not the <code>aros</code> or <code>aros_acos</code> tables. The warning above is what I am getting trying to run the <code>install</code> action again.</p>