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

Revision #5 has been created by qiang on Oct 23, 2010, 6:58:01 PM with the memo:

Changed category
« previous (#4) next (#6) »

Changes

Title unchanged

How to setup RBAC with a php file

Category changed

TutorialHow-tos

Yii version unchanged

Tags unchanged

Authentication

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
21 followers
Viewed: 111 255 times
Version: 1.1
Category: How-tos
Written by: bettor
Last updated by: Stageline
Created on: Feb 7, 2010
Last updated: 11 years ago
Update Article

Revisions

View all history