title: Yii - Allow access to every actions in all controllers to authenticated user
body: <p>I have many actions in my project and I don't want to write all the action names in the access rules. I am writing my access rule in Controller inside components. Is there any way in Yii that will allow me to give access to all actions once a user is authenticated? Something like a wildcard for actions?</p>
  
  <p>for example</p>
  
  <pre><code>public function accessRules()
       {
          return array(
              array(
                     'allow',
                     'actions'=&gt;array('login'),
                     'users'=&gt;array('*'),
                 ),
             array(
                     'allow',
                     'actions'=&gt;array('changepassword','logout',
                          'searchstudent','searchstudentlist','registration','editstudent','undodelete',
                          'edit','leftschool','removestudent','deletestudent','undodeletestudent','undoleftstudent'),
                     'users'=&gt;array('@'),
                 ),
                array('deny'),
              );     
        }
  </code></pre>
  
  <p>There are many more actions and i don't want to write each and every one of them</p>
  
  <p>Thanks in advance</p>