Create Role Manually - Yii Rights And Yii User Modules

Hi All,

I want to implement role based access control in my site. I am following this article

http://www.yiiframework.com/wiki/448/assigning-dynamic-roles-to-a-user-using-yii-rights-module-at-the-time-of-user-creation-and-using-some-special-advanced-features-of-yii-rights/

What I dont understand is how to create a new role manually. Also, can we add privileges to each created role? Any help on this will be highly appreciated.

Thanks,

Shibin

Did you read this http://www.yiiframework.com/doc/guide/1.1/en/topics.auth#role-based-access-control ?

Hi 1cichy,

Thanks for your tip. It helped a lot.