Hello,
I don’t understand how to assign a role…
I want to use for now in learning porpuses the simple
public function filters()
{
return array(
'accessControl',
);
}
public function accessRules()
{
return array(
array('deny',
'actions'=>array('create', 'edit'),
'users'=>array('?'),
),
etc…
But I can’t find how to assign to the user a role… I want it to be based on what in the databes…
don’t need to much for now, just guest user admin roles
or I forced to use CWebUser ?