Difference between #3 and #4 of
How to setup RBAC with a php file

Revision #4 has been created by Orteko on Oct 17, 2010, 10:52:43 AM with the memo:

Add authentication tag
« previous (#3) next (#5) »


Title unchanged

How to setup RBAC with a php file

Category unchanged


Yii version unchanged

Tags changed


Content unchanged

[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.
24 4
Viewed: 68 364 times
Version: 1.1
Category: How-tos
Written by: bettor
Last updated by: Stageline
Created on: Feb 7, 2010
Last updated: 5 years ago
Update Article


View all history