Rbac (Role Based Access Control )

Hello

I read lots of articles on RBAC but i am unable to understand how to implement it.

And one more thing i am not getting that at the time of user identity i assign a roles to manager but in my accessrules when i am trying to assign some actions to this role its not working. can anyone tell me what i am doing wrong




'actions'=>array('admin'),

'roles'=>array('manager'),



Thanks

I know you have read a lot of articles, there are tons of tutorials on RBAC using Yii just follow anyone of em, here are few links

http://www.yiiframework.com/wiki/328/simple-rbac/

http://www.yiiframework.com/wiki/136/getting-to-understand-hierarchical-rbac-scheme/

If you are still not able to make it working, User rights extention.

http://www.yiiframework.com/extension/rights/