Revision #3 has been created by bettor on Feb 8, 2010, 9:43:47 PM with the memo:
adding more resources to the related readings
« previous (#2) next (#4) »
Changes
Title
unchanged
How to setup RBAC with a php file
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Content
changed
[...]
## Related readings
[Role-Based Access Control](http://www.yiiframework.com/doc/guide/topics.auth#role-based-access-control)<br />
[CModel::rules()](/doc/api/CModel#rules-detail)<br />
[CAuthManager](http://www.yiiframework.com/doc/api/CAuthManager)<br />
[RBAC clarification](http://www.yiiframework.com/forum/index.php?/topic/2313-rbac-confusion)<br />
[another related rbac approach](http://yiiframework.ru/doc/cookbook/ru/access.rbac.file)<br />
>Disclaimer: The above code works for me. I do not guarantee that it will work in all situations. If you need more complex rbac structure use the DB one. I've read all posts in the forum RE rbac but none of them helped me so the above code has been discovered through trial & error. Use it on your own responsibility.