Пример #1
0
 /**
  * Specifies the access control rules.
  * This method is used by the 'accessControl' filter.
  * @return array access control rules
  */
 public function accessRules()
 {
     return array_merge(array(array('allow', 'actions' => array('edit', 'disable', 'merge'), 'users' => array('@'))), parent::accessRules());
 }
 public function accessRules()
 {
     $b = parent::accessRules();
     $mergeArray = CMap::mergeArray(array(array('allow', 'actions' => ['hmrc'], 'users' => array("@"))), $b);
     return $mergeArray;
 }
 public function accessRules()
 {
     return array_merge(array(array('allow', 'actions' => array('list', 'editCommissioningBodyService', 'addCommissioningBodyService', 'verifyDeleteCommissioningBodyServices', 'deleteCommissioningBodyServices'), 'roles' => array('OprnEditClericalCvi'))), parent::accessRules());
 }