Managing user roles in yii

    Now While starting with YII the first issue I faced was of user¬† roles, The YII gives access rights directly on user names viz. array(‘allow’, // allow admin user to perform ‘admin’ and ‘delete’ actions ‘actions’=>array(‘create’,’Admin’,’Add’), ‘users’=>array(‘admin’), ), So here admin is the user name not the role, so I just tried this work around….