title: cakephp isAuthorized() not being called
body: <p>I am trying to use the isAuthorized() method to do a check for an admin flag, but the function never seems to be called. Even when I set the function to always return false, it allows any user. It just seems like it isn't being called.</p>
  
  <p>Do I need to do something more than setting $this->Auth->authorize = 'controller' ?</p>
  
  <p>from /app/app_controller.php</p>
  
  <pre><code>class AppController extends Controller
  {
  
  var $components = array('Auth');
  
  function beforeFilter()
  {
      $this-&gt;Auth-&gt;loginAction = array('controller' =&gt; 'users', 'action' =&gt; 'login');
      $this-&gt;Auth-&gt;loginRedirect = array('controller' =&gt; 'pages', 'display' =&gt; 'home');
      $this-&gt;Auth-&gt;logoutRedirect = '/';
      $this-&gt;Auth-&gt;authorize = 'controller';
      $this-&gt;Auth-&gt;userScope = array('User.active' =&gt; 1);
  }
  
  function isAuthorized()
  {
      if (strpos($this-&gt;action, "admin_") != false)
      {
          if ($this-&gt;Auth-&gt;user('isAdmin') == '0')
          {
              return false;
          }
      }
      return true;
  }
  }
  </code></pre>