I added the source code for RBAC Module validation. We can check the access role in module level, controller level and action level.add this in config/main.php 'authManager'=>array( 'class'=>'CDbAuthManager', 'itemTable'=>'authitem', 'assignmentTable'=>'authassignment', 'itemChildTable'=>'authitemchild', 'connectionID'=>'db', ), AdminModule class AdminModule extends CWebModule { public function init() { // this method is called when the module is being created // you may place code here to customize the module or the application // import […]... Read More »