OEModule\OphCiExamination\controllers\OEScapeDataController::accessRules PHP Method

accessRules() public method

public accessRules ( )
    public function accessRules()
    {
        return array(array('allow', 'actions' => array('dataset', 'datasetva', 'datasetmd', 'loadimage', 'loadallimages', 'getoperations', 'getimage', 'getmedications'), 'expression' => 'Yii::app()->user->isSurgeon()'), array('allow', 'actions' => array('dataset', 'datasetva', 'datasetmd', 'loadimage', 'loadallimages', 'getoperations', 'getimage', 'getmedications'), 'roles' => array('admin')));
    }