title: Error 403 You are not authorized to perform this action in yii framework
body: <p>I have followed <a href="http://www.larryullman.com/2010/01/04/simple-authentication-with-the-yii-framework/" rel="nofollow">http://www.larryullman.com/2010/01/04/simple-authentication-with-the-yii-framework/</a> for creating login system using database.<br>
  but after login and trying to access admin pages i got <pre>Error 403 You are not authorized to perform this action</pre><br>
  any idea why how to solve this issue?<br>see my access rule<br><pre>public function accessRules()
  {
      return array(
      array('allow',  // allow all users to perform 'index' and 'view' actions
          'actions'=>array('index','view'),
          'users'=>array('<em>'),
      ),
      array('allow', // allow authenticated user to perform 'create' and 'update' actions
          'actions'=>array(),
          'users'=>array('@'),
      ),
      array('allow', // allow admin user to perform 'admin' and 'delete' actions
          'actions'=>array('admin','delete','create','update' ),  // 
          'users'=>array('admin'),
          'expression'=>'isset($user->role) &amp;&amp; ($user->role==="admin")',
      ),
      array('deny',  // deny all users
          'users'=>array('</em>'),
          ),
      );
  }</pre></p>