title: cakePHP Auth - with allow/deny, what isAuthorized is actualley needed for?
body: <p>Check this:</p>
  
  <pre><code>function beforeFilter() {
      $this-&gt;Auth-&gt;authorize = 'controller';
      $this-&gt;Auth-&gt;allow('delete');
  }
  
  function isAuthorized() {
      if ($this-&gt;Auth-&gt;user('role') != 'admin') {
          $this-&gt;Auth-&gt;deny('delete');
      }
  
      ...
  }
  </code></pre>
  
  <p>(from: <a href="http://book.cakephp.org/view/1255/AuthComponent-Methods#deny-1258" rel="nofollow">http://book.cakephp.org/view/1255/AuthComponent-Methods#deny-1258</a>)</p>
  
  <p>This is the documentation-example for isAuthorized. what do I need it for if I can simply set the conditions in the beforeFilter itself? seems like extra useless code.. </p>