title: Cakephp: grant acl permission using cli
body: <p>I'm trying to grant edit Users permission to a group (users) using the cli. </p>
  
  <p>Here's the relevant line from the aros table:</p>
  
  <pre><code>id  parent_id   model   foreign_key     alias   lft     rght
  
  3       NULL      Group     3              NULL     13      22
  </code></pre>
  
  <p>Here's the relevant line from from the acos table:</p>
  
  <pre><code>id  parent_id   model   foreign_key     alias   lft     rght
  27      1          NULL     NULL            Users   68      89
  31    27         NULL     NULL            edit    75       76
  </code></pre>
  
  <p>I tried using this command:</p>
  
  <blockquote>
    <p>cake acl grant users Users edit</p>
  </blockquote>
  
  <p>but I got this error message:</p>
  
  <p>PHP Warning:  DbAcl::allow() - Invalid node in /var/www/html/cakepf/cake/libs/controller/components/acl.php on line 361</p>
  
  <p>Warning: DbAcl::allow() - Invalid node in /var/www/html/cakepf/cake/libs/controller/components/acl.php on line 361
  Permission was not granted.</p>
  
  <p>Any assistance on how to accomplish this would be much appreciated.</p>