public function accessRules() { return array(array('allow', 'actions' => array('test', 'getPDF'), 'roles' => array('admin'))); }