سلام. تو کد زیر در صورتی که من گروهی داشته به اسمهای ادمین و پادلیشر چطوری میتونم این گروه های خاص رو تعریف و دسترسی بدم؟
public function accessRules()
{
return array(
array('allow', // allow all users to access 'index' and 'view' actions.
'actions'=>array('index','view'),
'users'=>array('*'),
),
array('allow', // allow authenticated users to access all actions
'users'=>array('@'),
),
array('deny', // deny all users
'users'=>array('*'),
),
);
}

Help












