/**
  * Specifies the access control rules.
  * This method is used by the 'accessControl' filter.
  * @return array access control rules
  */
 public function accessRules()
 {
     return array(array('allow', 'actions' => array('index', 'view', 'create', 'update', 'admin', 'delete'), 'expression' => CommonHelper::getpermission('images')), array('deny', 'users' => array('*')));
 }