Rbac And Yii Rights Confusion

Hello,

I am new to Yii and have found the doc around the Yii Rights extension not self explanatory.

In Yii rights we set actions,then Operations, Tasks and Roles. We then assign a Role to a user.

Where I am confused is:

1)I need to set the user accessRules in each controllers, but what do I add? Just the roles without actions?

2)Will the Yii rights extension link the actions I have prepared in the GUI to the Roles I will set in the Controllers?

3)Would any of you have a basic example of a typical setup in a controller while using Yii Rights?

Thank you so much, as soon as I understand this part, thing will get so much easier…

Benny