Use Rights With Caction For Generate Items




<?php

/**

 * user controller class

 *

 * @author chamara bandara

 */

Yii::import('application.extensions.simple_image');


class UserController extends Controller {

   public $layout = '//layouts/column2';

  

   public function filters() {

      return array(

          'accessControl', // perform access control for CRUD operations

              'rights',

      );

   }


   public function actions() {

      return array(

          'index' => 'application.modules.users.controllers.user.IndexAction',

          'create' => 'application.modules.users.controllers.user.CreateAction',

          'view' => 'application.modules.users.controllers.user.ViewAction',

          'update' => 'application.modules.users.controllers.user.UpdateAction',

          'delete' => 'application.modules.users.controllers.user.DeleteAction',

          'admin' => 'application.modules.users.controllers.user.AdminAction',

          'ajaxChangePassword' => 'application.modules.users.controllers.user.AjaxChangePasswordAction',

          'UpdatePassword' => 'application.modules.users.controllers.user.UpdatePasswordAction',

          'approve' => 'application.modules.users.controllers.user.ApproveAction',

          'reject' => 'application.modules.users.controllers.user.RejectAction',

      );

   }

}



this is my controller with there action,

i am using rights but above actions can’t get to Generate items list

how i do that plz help me?