Hi
I want to know if the value of a getState is known in a bizrule. I can’t find it in the guide or class reference.
I ask this because the following code works outside a bizrule (it returns true), but the bizrule returns false.
$projectModel = Project::model()->findByPk($model->project_id);
$params = array('project'=>$projectModel);
if(!Yii::app()->user->checkAccess('Registratie.Create', $params)) {
throw new CHttpException(403, 'No access.');
}
Thanks in advance!